mirror of https://github.com/mkerrisk/man-pages
eventfd.2: Clarified close-on-exec behavior
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
This commit is contained in:
parent
c9e83f0678
commit
d45105d9d7
|
@ -18,7 +18,7 @@
|
||||||
.\"
|
.\"
|
||||||
.\" 2008-10-10, mtk: describe eventfd2(), and EFD_NONBLOCK and EFD_CLOEXEC
|
.\" 2008-10-10, mtk: describe eventfd2(), and EFD_NONBLOCK and EFD_CLOEXEC
|
||||||
.\"
|
.\"
|
||||||
.TH EVENTFD 2 2009-01-26 Linux "Linux Programmer's Manual"
|
.TH EVENTFD 2 2010-08-29 Linux "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
eventfd \- create a file descriptor for event notification
|
eventfd \- create a file descriptor for event notification
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -186,7 +186,8 @@ eventfd object.
|
||||||
File descriptors created by
|
File descriptors created by
|
||||||
.BR eventfd ()
|
.BR eventfd ()
|
||||||
are preserved across
|
are preserved across
|
||||||
.BR execve (2).
|
.BR execve (2),
|
||||||
|
unless the close-on-exec flag has been set.
|
||||||
.SH "RETURN VALUE"
|
.SH "RETURN VALUE"
|
||||||
On success,
|
On success,
|
||||||
.BR eventfd ()
|
.BR eventfd ()
|
||||||
|
|
Loading…
Reference in New Issue