From 735e291284d39820b160afd8d6af04e1ddb2da44 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sat, 1 Dec 2018 09:30:07 +0100 Subject: [PATCH] eventfd.2: Move text noting that eventfd() creates a FD earlier in the page Signed-off-by: Michael Kerrisk --- man2/eventfd.2 | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/man2/eventfd.2 b/man2/eventfd.2 index 4c9001ed7..a17acaa44 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