PMGETMULTICASTBUFFER(3) | PMGETMULTICASTBUFFER(3) |
int pmGetMulticastBuffer(pmContext *pmc, int *dest, int ndest, caddr_t *bufp, size_t len);
pmContext * |
pmc |
pmContext object | |
int * |
dest |
Destination node numbers | |
int |
ndest |
Number of destination numbers | |
caddr_t * |
bufp |
Buffer address | |
size_t |
len |
Buffer length |
pmGetMulticastBuffer
() allocates a message buffer of len
bytes for multicasting to nodes described in dest
.
If pmc
is of type PM_COMPOSITE
and a buffer is
allocated, the context is locked until
pmSend
() is called.
len
is 1.
PM_SUCCESS |
Success |
ENOBUFS |
No buffer is available |
EINVAL |
Invalid destination node number |
Invalid length (len < minimum length or len
> MTU) |
|
EBUSY |
Context is already locked |
ENOSYS |
Operation not supported |