mirror of https://github.com/mkerrisk/man-pages
epoll.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
0a26e2d352
commit
ee5d5d33c5
10
man7/epoll.7
10
man7/epoll.7
|
@ -41,14 +41,14 @@ API is the
|
|||
.IR instance ,
|
||||
an in-kernel data structure which, from a user-space perspective,
|
||||
can be considered as a container for two lists:
|
||||
.IP * 4
|
||||
.IP \(bu 2
|
||||
The
|
||||
.I interest
|
||||
list (sometimes also called the
|
||||
.B epoll
|
||||
set): the set of file descriptors that the process has registered
|
||||
an interest in monitoring.
|
||||
.IP *
|
||||
.IP \(bu
|
||||
The
|
||||
.I ready
|
||||
list: the set of file descriptors that are "ready" for I/O.
|
||||
|
@ -62,7 +62,7 @@ The following system calls are provided to
|
|||
create and manage an
|
||||
.B epoll
|
||||
instance:
|
||||
.IP * 3
|
||||
.IP \(bu 2
|
||||
.BR epoll_create (2)
|
||||
creates a new
|
||||
.B epoll
|
||||
|
@ -71,13 +71,13 @@ instance and returns a file descriptor referring to that instance.
|
|||
.BR epoll_create1 (2)
|
||||
extends the functionality of
|
||||
.BR epoll_create (2).)
|
||||
.IP *
|
||||
.IP \(bu
|
||||
Interest in particular file descriptors is then registered via
|
||||
.BR epoll_ctl (2),
|
||||
which adds items to the interest list of the
|
||||
.B epoll
|
||||
instance.
|
||||
.IP *
|
||||
.IP \(bu
|
||||
.BR epoll_wait (2)
|
||||
waits for I/O events,
|
||||
blocking the calling thread if no events are currently available.
|
||||
|
|
Loading…
Reference in New Issue