 |
Index for Section 9r |
|
 |
Alphabetical listing for M |
|
 |
Bottom of page |
|
msgdsize(9r)
NAME
msgdsize - STREAMS: Returns the number of bytes in a message
SYNOPSIS
#include <sys/stream.h>
int msgdsize(
MBLKP message_block_ptr );
ARGUMENTS
message_block_ptr
Specifies a pointer to the message block to be evaluated. The typedef
MBLKP is an alternate name for typedef struct msgb *.
DESCRIPTION
The msgdsize interface counts the number of bytes in a data message. Only
bytes included in the data blocks with a message type of M_DATA (ordinary
data) is included in the count.
RETURN VALUES
Upon successful completion, the msgdsize interface returns the number of
data bytes in a message, expressed as an integer.
 |
Index for Section 9r |
|
 |
Alphabetical listing for M |
|
 |
Top of page |
|