_RESMGR_PTR()
QNX SDP8.0C Library ReferenceAPIDeveloper
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:
Safety: | |
---|---|
Cancellation point | No |
Signal handler | Yes |
Thread | Yes |
Page updated: