_RESMGR_PTR()

Get one part from the ctp->iov structure and fill in its fields

Synopsis:

#include <sys/resmgr.h>

#define_RESMGR_PTR( resmgr_context_t ctp,
                    void msg,
                    size_t nbytes ) ...

Arguments:

ctp
A pointer to a resmgr_context_t structure that the resource-manager library uses to pass context information between functions.
msg
The value you want to use for the structure's iov_base member.
nbytes
The value you want to use for the structure's iov_len member.

Description:

The _RESMGR_PTR() macro gets one part from the ctp->iov structure (see resmgr_context_t) and fills in its fields. The macro is equivalent to:

SETIOV (ctp->iov, msg, nbytes)

returning _RESMGR_NPARTS (1).

Returns:

-1

Classification:

QNX Neutrino

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