MSGDSIZE(9F) Kernel Functions for Drivers MSGDSIZE(9F)
msgdsize - return the number of bytes in a message
#include <sys/stream.h> size_t msgdsize
Architecture independent level 1 (DDI/DKI).
Message to be evaluated.
function counts the number of bytes in a data message.
Only bytes included in the data blocks of type M_DATA
are included in the
The number of data bytes in a message, expressed as an integer.
function can be called from user, interrupt, or kernel
for an example that uses msgdsize()
SEE ALSO bufcall(9F) Writing Device Drivers STREAMS Programming Guide
January 16, 2006 MSGDSIZE(9F)