mirror of https://github.com/mkerrisk/man-pages
epoll_wait.2: Minor restructuring of text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
8483a88c94
commit
ae3faf4b62
|
@ -40,9 +40,6 @@ system call waits for events on the
|
|||
.B epoll
|
||||
instance referred to by the file descriptor
|
||||
.IR epfd .
|
||||
The call waits for a maximum time of
|
||||
.I timeout
|
||||
milliseconds.
|
||||
The memory area pointed to by
|
||||
.I events
|
||||
will contain the events that will be available for the caller.
|
||||
|
@ -53,6 +50,10 @@ are returned by
|
|||
The
|
||||
.I maxevents
|
||||
argument must be greater than zero.
|
||||
|
||||
The call waits for a maximum time of
|
||||
.I timeout
|
||||
milliseconds.
|
||||
Specifying a
|
||||
.I timeout
|
||||
of \-1 makes
|
||||
|
@ -63,6 +64,7 @@ equal to zero makes
|
|||
.BR epoll_wait ()
|
||||
to return immediately even if no events are available
|
||||
(return code equal to zero).
|
||||
|
||||
The
|
||||
.I struct epoll_event
|
||||
is defined as :
|
||||
|
|
Loading…
Reference in New Issue