eventfd.2: Move text noting that eventfd() creates a FD earlier in the page

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2018-12-01 09:30:07 +01:00
parent 839d161f0f
commit 735e291284
1 changed files with 7 additions and 5 deletions

View File

@ -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