Content-type: text/html Man page of msgsize

msgsize

Section: Kernel Functions for Drivers (9F)
Updated: 9 June 2004
Index Return to Main Contents
 

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


 

Index

NAME
SYNOPSIS
INTERFACE LEVEL
PARAMETERS
DESCRIPTION
RETURN VALUES
CONTEXT
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:39:36 GMT, October 02, 2010