aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2018-12-01 09:30:07 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2018-12-01 09:30:07 +0100
commit735e291284d39820b160afd8d6af04e1ddb2da44 (patch)
tree2293027771f8626aa6985b55f81b2091b078be32
parent839d161f0f5edd97bf7d7f7952d53526f3bf7b6e (diff)
downloadman-pages-735e291284d39820b160afd8d6af04e1ddb2da44.tar.gz
eventfd.2: Move text noting that eventfd() creates a FD earlier in the page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/eventfd.212
1 files changed, 7 insertions, 5 deletions
diff --git a/man2/eventfd.2 b/man2/eventfd.2
index 4c9001ed71..a17acaa444 100644
--- a/man2/eventfd.2
+++ b/man2/eventfd.2
@@ -37,6 +37,11 @@ counter that is maintained by the kernel.
This counter is initialized with the value specified in the argument
.IR initval .
.PP
+As its return value,
+.BR eventfd ()
+returns a new file descriptor that can be used to refer to the
+eventfd object.
+.PP
The following values may be bitwise ORed in
.IR flags
to change the behavior of
@@ -68,11 +73,8 @@ In Linux up to version 2.6.26, the
.I flags
argument is unused, and must be specified as zero.
.PP
-As its return value,
-.BR eventfd ()
-returns a new file descriptor that can be used to refer to the
-eventfd object.
-The following operations can be performed on the file descriptor:
+The following operations can be performed on the file descriptor returned by
+.BR eventfd ():
.TP
.BR read (2)
Each successful