Gets the number of data bytes in a message.
int
msgdsize(bp)
register mblk_t * bp;
The msgdsize utility returns the number of bytes of data in the message pointed to by the bp parameter. Only bytes included in data blocks of type M_DATA are included in the total.
This utility is part of STREAMS Kernel Extensions.
Item | Description |
---|---|
bp | Specifies the message from which to get the number of bytes. |
The msgdsize utility returns the number of bytes of data in a message.