1mqueue.h(3HEAD) Headers mqueue.h(3HEAD)
2
3
4
6 mqueue.h, mqueue - message queues
7
9 #include <mqueue.h>
10
11
13 The <mqueue.h> header defines the mqd_t type, which is used for message
14 queue descriptors. This will not be an array type. A message queue
15 descriptor may be implemented using a file descriptor, in which case
16 applications can open up to at least OPEN_MAX file and message queues.
17
18
19 The <mqueue.h> header defines the sigevent structure (as described in
20 <signal.h>, see signal.h(3HEAD)) and the mq_attr structure, which is
21 used in getting and setting the attributes of a message queue.
22 Attributes are initially set when the message queue is created. A
23 mq_attr structure has the following members:
24
25 long mq_flags message queue flags
26 long mq_maxmsg maximum number of messages
27 long mq_msgsize maximum message size
28 long mq_curmsgs number of messages currently queued
29
30
31
32
33 Inclusion of the <mqueue.h> header may make visible symbols defined in
34 the headers <fcntl.h>, <signal.h>, <sys/types.h>, and <time.h>.
35
37 See attributes(5) for descriptions of the following attributes:
38
39
40
41
42 ┌─────────────────────────────┬─────────────────────────────┐
43 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
44 ├─────────────────────────────┼─────────────────────────────┤
45 │Interface Stability │Standard │
46 └─────────────────────────────┴─────────────────────────────┘
47
49 fcntl.h(3HEAD), signal.h(3HEAD), time.h(3HEAD), types.h(3HEAD),
50 attributes(5), standards(5)
51
52
53
54SunOS 5.11 30 Aug 2002 mqueue.h(3HEAD)