Updated: April 19, 2023 |
Get one part from the ctp->iov structure and fill in its fields
#include <sys/resmgr.h> #define _RESMGR_PTR( resmgr_context_t ctp, void msg, size_t nbytes ) ...
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).
-1
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | Yes |
Signal handler | Yes |
Thread | Yes |