MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Kernel Functions for Drivers                          msgsize(9F)



NAME
     msgsize - Return the total number of bytes in a message

SYNOPSIS
     #include 
     #include 



     sizet msgsize(mblkt *mp);


INTERFACE LEVEL
     Solaris DI specific (Solaris DI)

PARAMETERS
     mp    Message to be evaluated.


DESCRIPTION
     The msgsize() function counts the number of bytes in a  mes-
     sage,  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.11          Last change: 9 June 2004                    1



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™