This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Get one part from the ctp->iov structure and fill in its fields
#include <sys/resmgr.h> _RESMGR_PTR( resmgr_context_t ctp, void msg, size_t nbytes )
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
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).
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | Yes |
Signal handler | Yes |
Thread | Yes |
resmgr_context_t, _RESMGR_NPARTS(), _RESMGR_STATUS(), SETIOV()