This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Set the status member of a resource-manager context
#include <sys/resmgr.h> _RESMGR_STATUS( resmgr_context_t *ctp, int status )
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The _RESMGR_STATUS() macro sets the status member in the resmgr_context_t structure.
The resource manager library uses this status when it returns the value from _RESMGR_NPARTS() for an I/O or connect function, such as:
MsgReply ( ctp->rcvid, ctp->status, ctp->iov, num ).
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | Yes |
Signal handler | Yes |
Thread | Yes |
resmgr_connect_funcs_t, resmgr_io_funcs_t, _RESMGR_NPARTS(), _RESMGR_PTR()