NAME | SYNOPSIS | FEATURES | DESCRIPTION | RETURN VALUE | ERRORS | ATTRIBUTES | SEE ALSO
#include <ipc/chIpc.h>int ipcReply(KnMsgDesc *msg);
IPC
The ipcReply call replies to the sender of the current thread's current message.
The msg field points to a descriptor for the destination of the message (a KnMsgDesc structure, as described in ipcSend(2K)).
The message is sent asynchronously; the sender is only blocked during the time needed by the system to process the request.
After the reply, if the call is successful, the current thread will not have a current message.
Upon successful completion a value of 0 is returned. Otherwise, a negative error code is returned.
The destination port is local and its queue is full, or the local remote-communication subsystem is saturated.
There is no current message (no message has been received by the current thread since the last ipcReply(2K), or ipcSave(2K)).
Some of the data provided are outside the current actor's address space.
The message body is too big.
Unreachable destination.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | SYNOPSIS | FEATURES | DESCRIPTION | RETURN VALUE | ERRORS | ATTRIBUTES | SEE ALSO