mirror of https://github.com/mkerrisk/man-pages
epoll.7: Mention epoll_create1() as part of epoll API
epoll_create1() was added in Linux 2.6.27, and extends the functionality of epoll_create(). Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
eb15342064
commit
9d0f3fcb0d
13
man7/epoll.7
13
man7/epoll.7
|
@ -18,7 +18,7 @@
|
||||||
.\"
|
.\"
|
||||||
.\" Davide Libenzi <davidel@xmailserver.org>
|
.\" Davide Libenzi <davidel@xmailserver.org>
|
||||||
.\"
|
.\"
|
||||||
.TH EPOLL 7 2008-02-28 "Linux" "Linux Programmer's Manual"
|
.TH EPOLL 7 2008-10-10 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
epoll \- I/O event notification facility
|
epoll \- I/O event notification facility
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -29,11 +29,13 @@ is a variant of
|
||||||
.BR poll (2)
|
.BR poll (2)
|
||||||
that can be used either as an edge-triggered or a level-triggered
|
that can be used either as an edge-triggered or a level-triggered
|
||||||
interface and scales well to large numbers of watched file descriptors.
|
interface and scales well to large numbers of watched file descriptors.
|
||||||
Three system calls are provided to
|
The following system calls are provided to
|
||||||
set up and control an
|
set up and control an
|
||||||
.B epoll
|
.B epoll
|
||||||
set:
|
set:
|
||||||
.BR epoll_create (2),
|
.BR epoll_create (2)
|
||||||
|
(or
|
||||||
|
.BR epoll_create1 (2)),
|
||||||
.BR epoll_ctl (2),
|
.BR epoll_ctl (2),
|
||||||
.BR epoll_wait (2).
|
.BR epoll_wait (2).
|
||||||
|
|
||||||
|
@ -41,6 +43,10 @@ An
|
||||||
.B epoll
|
.B epoll
|
||||||
set is connected to a file descriptor created by
|
set is connected to a file descriptor created by
|
||||||
.BR epoll_create (2).
|
.BR epoll_create (2).
|
||||||
|
(The more recent
|
||||||
|
.BR epoll_create1 (2)
|
||||||
|
extends the functionality of
|
||||||
|
.BR epoll_create (2).)
|
||||||
Interest for certain file descriptors is then registered via
|
Interest for certain file descriptors is then registered via
|
||||||
.BR epoll_ctl (2).
|
.BR epoll_ctl (2).
|
||||||
Finally, the actual wait is started by
|
Finally, the actual wait is started by
|
||||||
|
@ -489,5 +495,6 @@ and Solaris has
|
||||||
.IR /dev/poll .
|
.IR /dev/poll .
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR epoll_create (2),
|
.BR epoll_create (2),
|
||||||
|
.BR epoll_create1 (2),
|
||||||
.BR epoll_ctl (2),
|
.BR epoll_ctl (2),
|
||||||
.BR epoll_wait (2)
|
.BR epoll_wait (2)
|
||||||
|
|
Loading…
Reference in New Issue