Headers msg.h(3HEAD)
NAME
msg.h, msg - message queue structures
SYNOPSIS
#include
DESCRIPTION
The header defines the following data types
through typedef:
msgqnumt used for the number of messages in the message
queue
msglent used for the number of bytes allowed in the
message queue
These types are unsigned integer types that are able to
store values at least as large as a type unsigned short.
The header defines the following constant as a
message operation flag:
MSGNOEROR no error if big message
The msqidds structure contains the following members:
struct ipcperm msgperm Operation permission structure.
msgqnumt msgqnum Number of messages currently on
queue.
msglent msgqbytes Maximum number of bytes allowed
on queue.
pidt msglspid Process ID of last msgsnd(2).
pidt msglrpid Process ID of last msgrcv(2).
timet msgstime Time of last msgsnd().
timet msgrtime Time of last msgrcv().
timet msgctime Time of last change.
The pidt, timet, keyt, sizet, and ssizet types are
defined as described in . See types(3HEAD).
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 10 Sep 2004 1
Headers msg.h(3HEAD)
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Standard
SEE ALSO
msgctl(2), msgget(2), msgrcv(2), msgsnd(2), ipc.h(3HEAD),
types.h(3HEAD), attributes(5), standards(5)
SunOS 5.11 Last change: 10 Sep 2004 2
|