mirror of https://github.com/mkerrisk/man-pages
poll.2: Clarify discussion of wrapper function emulation
Clarify that glibc (as well as old libc) provides emulation using select(2) on older kernels that don't have a poll() system call. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
77a53cb65a
commit
6f0b2c8c9a
15
man2/poll.2
15
man2/poll.2
|
@ -28,7 +28,7 @@
|
|||
.\" 2006-07-01, mtk, Added POLLRDHUP + various other wording and
|
||||
.\" formatting changes.
|
||||
.\"
|
||||
.TH POLL 2 2012-05-02 "Linux" "Linux Programmer's Manual"
|
||||
.TH POLL 2 2012-05-05 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
poll, ppoll \- wait for some event on a file descriptor
|
||||
.SH SYNOPSIS
|
||||
|
@ -313,15 +313,12 @@ There was no space to allocate file descriptor tables.
|
|||
The
|
||||
.BR poll ()
|
||||
system call was introduced in Linux 2.1.23.
|
||||
The
|
||||
On older kernels that lack this system call,
|
||||
.\" library call was introduced in libc 5.4.28
|
||||
the glibc (and the old Linux libc)
|
||||
.BR poll ()
|
||||
library call was introduced in libc 5.4.28
|
||||
(and provides emulation using
|
||||
.BR select (2)
|
||||
if your kernel does not
|
||||
have a
|
||||
.BR poll ()
|
||||
system call).
|
||||
wrapper function provides emulation using
|
||||
.BR select (2).
|
||||
|
||||
The
|
||||
.BR ppoll ()
|
||||
|
|
Loading…
Reference in New Issue