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
ee5d5d33c5
commit
2fd2369549
|
@ -161,19 +161,15 @@ The suggested way to use
|
||||||
as an edge-triggered
|
as an edge-triggered
|
||||||
.RB ( EPOLLET )
|
.RB ( EPOLLET )
|
||||||
interface is as follows:
|
interface is as follows:
|
||||||
.RS
|
.IP a) 3
|
||||||
.TP 4
|
|
||||||
.B i
|
|
||||||
with nonblocking file descriptors; and
|
with nonblocking file descriptors; and
|
||||||
.TP
|
.IP b)
|
||||||
.B ii
|
|
||||||
by waiting for an event only after
|
by waiting for an event only after
|
||||||
.BR read (2)
|
.BR read (2)
|
||||||
or
|
or
|
||||||
.BR write (2)
|
.BR write (2)
|
||||||
return
|
return
|
||||||
.BR EAGAIN .
|
.BR EAGAIN .
|
||||||
.RE
|
|
||||||
.PP
|
.PP
|
||||||
By contrast, when used as a level-triggered interface
|
By contrast, when used as a level-triggered interface
|
||||||
(the default, when
|
(the default, when
|
||||||
|
|
Loading…
Reference in New Issue