Set the status member of a resource-manager context
#include <sys/resmgr.h> #define _RESMGR_STATUS( resmgr_context_t *ctp, int status ) ...
None.
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()