sunos man page for msgsize

Query: msgsize

OS: sunos

Section: 9f

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

msgsize(9F)						   Kernel Functions for Drivers 					       msgsize(9F)

NAME
msgsize - Return the total number of bytes in a message
SYNOPSIS
#include <sys/stream.h> #include <sys/strsun.h> size_t msgsize(mblk_t *mp);
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI)
PARAMETERS
mp Message to be evaluated.
DESCRIPTION
The msgsize() function counts the number of bytes in a message, regardless of the data type of the underlying data blocks.
RETURN VALUES
Number of bytes in the message.
CONTEXT
This function can be called from user, kernel or interrupt context.
SEE ALSO
msgdsize(9F) STREAMS Programming Guide SunOS 5.10 9 June 2004 msgsize(9F)
Related Man Pages
db_ref(9f) - sunos
mblkhead(9f) - sunos
mblkin(9f) - sunos
allocb_tmpl(9f) - sunos
mexchange(9f) - opensolaris
Similar Topics in the Unix Linux Community
Handle int listen(int sockfd, int backlog) in TCP
utime returning -1 BAD File DEscriptor
How to get the number of bytes parsed in libxml2
A weird problem with POSIX function