NAME | SYNOPSIS | API RESTRICTIONS | FEATURES | DESCRIPTION | RETURN VALUE | ERRORS | ATTRIBUTES | SEE ALSO
#include <ipc/chIpc.h>int ipcGetData(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 ipcGetData call copies the body of the current thread's current message to the thread's address space.
The message body is received only if the message was received with a NULL bodyAddr argument (see ipcReceive(2K)). The message body may only be obtained once; system buffers are freed after the operation.
The msg field points to a KnMsgDesc structure, as described in ipcReceive(2K).
This function returns the number of bytes that have been copied.
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.
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