mq_open.3: Document the O_CLOEXEC flag

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-11-08 13:49:54 +01:00
parent 8d121cc5c1
commit d74f805937
1 changed files with 7 additions and 0 deletions

View File

@ -70,6 +70,13 @@ Zero or more of the following flags can additionally be
in
.IR oflag :
.TP
.BR O_CLOEXEC " (since Linux 2.6.26)"
.\" commit 269f21344b23e552c21c9e2d7ca258479dcd7a0a
Set the close-on-exec flag for the message queue descriptor.
See
.BR open (2)
for a discussion of why this flag is useful.
.TP
.B O_CREAT
Create the message queue if it does not exist.
The owner (user ID) of the message queue is set to the effective