|MCOPYMSG(9F)||Kernel Functions for Drivers||MCOPYMSG(9F)|
#include <sys/stream.h> #include <sys/strsun.h> void mcopymsg(mblk_t *mp, void *buf);
The provided buffer must be large enough to accommodate the message. If the buffer is not large enough, the results are unspecified. The msgsize(9F) function can be used to calculate the total size of the message beforehand.
STREAMS Programming Guide
|October 16, 2007||OmniOS|