msgdsize Subroutine

size_t msgdsize(mblk_t *mp)

msgdsize returns the number of bytes in the data message pointed to by mp. msgdsize only includes data blocks of type M_DATA in the count. For more information, see msgdsize(9F).