_RESMGR_STATUS()

Updated: April 19, 2023

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.

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