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 ,
|
.IR instance ,
|
||||||
an in-kernel data structure which, from a user-space perspective,
|
an in-kernel data structure which, from a user-space perspective,
|
||||||
can be considered as a container for two lists:
|
can be considered as a container for two lists:
|
||||||
.IP * 4
|
.IP \(bu 2
|
||||||
The
|
The
|
||||||
.I interest
|
.I interest
|
||||||
list (sometimes also called the
|
list (sometimes also called the
|
||||||
.B epoll
|
.B epoll
|
||||||
set): the set of file descriptors that the process has registered
|
set): the set of file descriptors that the process has registered
|
||||||
an interest in monitoring.
|
an interest in monitoring.
|
||||||
.IP *
|
.IP \(bu
|
||||||
The
|
The
|
||||||
.I ready
|
.I ready
|
||||||
list: the set of file descriptors that are "ready" for I/O.
|
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
|
create and manage an
|
||||||
.B epoll
|
.B epoll
|
||||||
instance:
|
instance:
|
||||||
.IP * 3
|
.IP \(bu 2
|
||||||
.BR epoll_create (2)
|
.BR epoll_create (2)
|
||||||
creates a new
|
creates a new
|
||||||
.B epoll
|
.B epoll
|
||||||
|
@ -71,13 +71,13 @@ instance and returns a file descriptor referring to that instance.
|
||||||
.BR epoll_create1 (2)
|
.BR epoll_create1 (2)
|
||||||
extends the functionality of
|
extends the functionality of
|
||||||
.BR epoll_create (2).)
|
.BR epoll_create (2).)
|
||||||
.IP *
|
.IP \(bu
|
||||||
Interest in particular file descriptors is then registered via
|
Interest in particular file descriptors is then registered via
|
||||||
.BR epoll_ctl (2),
|
.BR epoll_ctl (2),
|
||||||
which adds items to the interest list of the
|
which adds items to the interest list of the
|
||||||
.B epoll
|
.B epoll
|
||||||
instance.
|
instance.
|
||||||
.IP *
|
.IP \(bu
|
||||||
.BR epoll_wait (2)
|
.BR epoll_wait (2)
|
||||||
waits for I/O events,
|
waits for I/O events,
|
||||||
blocking the calling thread if no events are currently available.
|
blocking the calling thread if no events are currently available.
|
||||||
|
|
Loading…
Reference in New Issue