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
|
.B epoll
|
||||||
instance referred to by the file descriptor
|
instance referred to by the file descriptor
|
||||||
.IR epfd .
|
.IR epfd .
|
||||||
The call waits for a maximum time of
|
|
||||||
.I timeout
|
|
||||||
milliseconds.
|
|
||||||
The memory area pointed to by
|
The memory area pointed to by
|
||||||
.I events
|
.I events
|
||||||
will contain the events that will be available for the caller.
|
will contain the events that will be available for the caller.
|
||||||
|
@ -53,6 +50,10 @@ are returned by
|
||||||
The
|
The
|
||||||
.I maxevents
|
.I maxevents
|
||||||
argument must be greater than zero.
|
argument must be greater than zero.
|
||||||
|
|
||||||
|
The call waits for a maximum time of
|
||||||
|
.I timeout
|
||||||
|
milliseconds.
|
||||||
Specifying a
|
Specifying a
|
||||||
.I timeout
|
.I timeout
|
||||||
of \-1 makes
|
of \-1 makes
|
||||||
|
@ -63,6 +64,7 @@ equal to zero makes
|
||||||
.BR epoll_wait ()
|
.BR epoll_wait ()
|
||||||
to return immediately even if no events are available
|
to return immediately even if no events are available
|
||||||
(return code equal to zero).
|
(return code equal to zero).
|
||||||
|
|
||||||
The
|
The
|
||||||
.I struct epoll_event
|
.I struct epoll_event
|
||||||
is defined as :
|
is defined as :
|
||||||
|
|
Loading…
Reference in New Issue