NAME | SYNOPSIS | API RESTRICTIONS | FEATURES | DESCRIPTION | RETURN VALUE | ERRORS | ATTRIBUTES | SEE ALSO
#include <ipc/chIpc.h>int ipcReply(KnMsgDesc *msg);
The function or functions documented here may not be used safely in all application contexts with all APIs provided in the ChorusOS 5.0 product.
See API(5FEA) for details.
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, 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 | API RESTRICTIONS | FEATURES | DESCRIPTION | RETURN VALUE | ERRORS | ATTRIBUTES | SEE ALSO