mirror of https://github.com/mkerrisk/man-pages
mq_overview.7: Note that the close-on-exec flag is automatically set on MQ descriptors
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
6b1e34f2a4
commit
785008cd99
|
@ -336,14 +336,20 @@ and
|
||||||
.B SIGNO
|
.B SIGNO
|
||||||
Signal number to be used for
|
Signal number to be used for
|
||||||
.BR SIGEV_SIGNAL .
|
.BR SIGEV_SIGNAL .
|
||||||
.SS Polling message queue descriptors
|
.SS Linux implementation of message queue descriptors
|
||||||
On Linux, a message queue descriptor is actually a file descriptor,
|
On Linux, a message queue descriptor is actually a file descriptor.
|
||||||
and can be monitored using
|
(POSIX does not require such an implementation.)
|
||||||
|
This means that a message queue descriptor can be monitored using
|
||||||
.BR select (2),
|
.BR select (2),
|
||||||
.BR poll (2),
|
.BR poll (2),
|
||||||
or
|
or
|
||||||
.BR epoll (7).
|
.BR epoll (7).
|
||||||
This is not portable.
|
This is not portable.
|
||||||
|
|
||||||
|
The close-on-exec flag (see
|
||||||
|
.BR open (2))
|
||||||
|
is automatically set on the file descriptor returned by
|
||||||
|
.BR mq_open (2).
|
||||||
.SS IPC namespaces
|
.SS IPC namespaces
|
||||||
For a discussion of the interaction of System V IPC objects and
|
For a discussion of the interaction of System V IPC objects and
|
||||||
IPC namespaces, see
|
IPC namespaces, see
|
||||||
|
|
Loading…
Reference in New Issue