*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> datamsg (9r)              
Title
Content
Arch
Section
 

datamsg(9r)

Contents


NAME    [Toc]    [Back]

       datamsg  - STREAMS: Tests whether a message is a data message

SYNOPSIS    [Toc]    [Back]

       #include <sys/stream.h>

       int datamsg(
               unsigned char type );

ARGUMENTS    [Toc]    [Back]

       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    [Toc]    [Back]

       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    [Toc]    [Back]

       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    [Toc]    [Back]

      
      
       Kernel Interfaces: allocb(9r)

       Programmer's Guide: STREAMS



                                                      datamsg(9r)
[ Back ]
 Similar pages
Name OS Title
canput Tru64 STREAMS: Tests for room in a message queue
STRMSGSZ HP-UX maximum size of streams message data (bytes)
strmsgsz HP-UX maximum size of streams message data (bytes)
unlinkb Tru64 STREAMS: Removes a message block from the head of a message
freemsg Tru64 STREAMS: Frees all message blocks in a message
copymsg Tru64 STREAMS: Copies a message to a new message
insq Tru64 STREAMS: Inserts a STREAMS message into a queue
rmvb Tru64 STREAMS: Removes a message block from a message block
gss_wrap HP-UX attach a message integrity code (MIC) to a message, and optionally encrypt the message content
gss_unwrap HP-UX verify a message with attached message integrity code (MIC) and decrypt message content if necessary
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service