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:
Michael Kerrisk 2012-05-05 11:37:46 +12:00
parent 77a53cb65a
commit 6f0b2c8c9a
1 changed files with 6 additions and 9 deletions

View File

@ -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 ()