msgdsize man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

MSGDSIZE(9F)							  MSGDSIZE(9F)

NAME
       msgdsize - return the number of bytes in a message

SYNOPSIS
       #include <sys/stream.h>

       size_t msgdsize(mblk_t *mp);

INTERFACE LEVEL
       Architecture independent level 1 (DDI/DKI).

PARAMETERS
       mp
	     Message to be evaluated.

DESCRIPTION
       The  msgdsize()	function counts the number of bytes in a data message.
       Only bytes included in the data blocks of type M_DATA are  included  in
       the count.

RETURN VALUES
       The number of data bytes in a message, expressed as an integer.

CONTEXT
       The  msgdsize()	function can be called from user, interrupt, or kernel
       context.

EXAMPLES
       See bufcall(9F) for an example that uses msgdsize().

SEE ALSO
       bufcall(9F)

       Writing Device Drivers

       STREAMS Programming Guide

				 Jan 16, 2006			  MSGDSIZE(9F)
[top]

List of man pages available for SmartOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net