#include <sys/stream.h> #include <sys/strsun.h> size_t msgsize(mblk_t *mp);
Solaris DDI specific (Solaris DDI)
Message to be evaluated.
The msgsize() function counts the number of bytes in a message, regardless of the data type of the underlying data blocks.
Number of bytes in the message.
This function can be called from user, kernel or interrupt context.
STREAMS Programming Guide