_RESMGR_STATUS()

Set the status member of a resource-manager context

Synopsis:

#include <sys/resmgr.h>

#define _RESMGR_STATUS( resmgr_context_t *ctp,
                        int status ) ...

Arguments:

ctp
A pointer to a resmgr_context_t structure that the resource-manager library uses to pass context information between functions.
status
The status that you want to set.

Library:

None.

Description:

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 ).

Classification:

QNX Neutrino

Safety:  
Cancellation point No
Interrupt handler Yes
Signal handler Yes
Thread Yes

Last modified: 2013-12-23

comments powered by Disqus