Get a given number of parts from the ctp->iov structure
#include <sys/resmgr.h> _RESMGR_NPARTS( int num )
libc
The macro _RESMGR_NPARTS() indicates
to the caller to get num parts from the
ctp->iov structure.
The macro is similar to
MsgReply( ctp->rcvid, ctp->status, ctp->iov, num ).
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | Yes |
| Signal handler | Yes |
| Thread | Yes |
The resmgr_attach() function should set attr->nparts_max to be the maximum value for num.
MsgReply(), resmgr_attach(), _RESMGR_PTR(), _RESMGR_STATUS()