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:
Michael Kerrisk 2008-10-10 16:00:48 +02:00
parent eb15342064
commit 9d0f3fcb0d
1 changed files with 10 additions and 3 deletions

View File

@ -18,7 +18,7 @@
.\"
.\" 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
epoll \- I/O event notification facility
.SH SYNOPSIS
@ -29,11 +29,13 @@ is a variant of
.BR poll (2)
that can be used either as an edge-triggered or a level-triggered
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
.B epoll
set:
.BR epoll_create (2),
.BR epoll_create (2)
(or
.BR epoll_create1 (2)),
.BR epoll_ctl (2),
.BR epoll_wait (2).
@ -41,6 +43,10 @@ An
.B epoll
set is connected to a file descriptor created by
.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
.BR epoll_ctl (2).
Finally, the actual wait is started by
@ -489,5 +495,6 @@ and Solaris has
.IR /dev/poll .
.SH "SEE ALSO"
.BR epoll_create (2),
.BR epoll_create1 (2),
.BR epoll_ctl (2),
.BR epoll_wait (2)