osf1 man page for datamsg

Query: datamsg

OS: osf1

Section: 9r

Links: osf1 man pages   all man pages

Forums: forum home   forum categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

datamsg(9r)															       datamsg(9r)

NAME
datamsg - STREAMS: Tests whether a message is a data message
SYNOPSIS
#include <sys/stream.h> int datamsg( unsigned char type );
ARGUMENTS
Specifies the type of message to be tested. The db_type member of the datab structure contains the message type. You can access this member through the message block as follows: mp->b_datap->db_type
DESCRIPTION
The datamsg interface tests the type of message to determine if it is a data message type. The following list identifies the data message value types: Ordinary data Requests a real-time delay Internal control information and data Same meaning as the M_PROTO except for priority
RETURN VALUES
If the message is a data message, datamsg returns the value 1. If the message is not a data message, datamsg returns the value zero(0).
SEE ALSO
Kernel Interfaces: allocb(9r) Programmer's Guide: STREAMS datamsg(9r)