[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Communications, Volume 2

msgdsize Utility

Purpose

Gets the number of data bytes in a message.

Syntax


int
msgdsize(bp)
register mblk_t * bp;

Description

The msgdsize utility returns the number of bytes of data in the message pointed to by the bp parameter. Only bytes included in data blocks of type M_DATA are included in the total.

This utility is part of STREAMS Kernel Extensions.

Parameters

bp Specifies the message from which to get the number of bytes.

Return Values

The msgdsize utility returns the number of bytes of data in a message.

Related Information

List of Streams Programming References, Understanding STREAMS Messages in AIX 5L Version 5.2 Communications Programming Concepts.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]