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)NAMEdatamsg - STREAMS: Tests whether a message is a data messageSYNOPSIS#include <sys/stream.h> int datamsg( unsigned char type );ARGUMENTSSpecifies 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_typeDESCRIPTIONThe 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 priorityRETURN VALUESIf 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 ALSOKernel Interfaces: allocb(9r) Programmer's Guide: STREAMS datamsg(9r)