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