mirror of https://github.com/mkerrisk/man-pages
mq_open.3: Document the O_CLOEXEC flag
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
8d121cc5c1
commit
d74f805937
|
@ -70,6 +70,13 @@ Zero or more of the following flags can additionally be
|
||||||
in
|
in
|
||||||
.IR oflag :
|
.IR oflag :
|
||||||
.TP
|
.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
|
.B O_CREAT
|
||||||
Create the message queue if it does not exist.
|
Create the message queue if it does not exist.
|
||||||
The owner (user ID) of the message queue is set to the effective
|
The owner (user ID) of the message queue is set to the effective
|
||||||
|
|
Loading…
Reference in New Issue