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
|
.\" 2006-07-01, mtk, Added POLLRDHUP + various other wording and
|
||||||
.\" formatting changes.
|
.\" 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
|
.SH NAME
|
||||||
poll, ppoll \- wait for some event on a file descriptor
|
poll, ppoll \- wait for some event on a file descriptor
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -313,15 +313,12 @@ There was no space to allocate file descriptor tables.
|
||||||
The
|
The
|
||||||
.BR poll ()
|
.BR poll ()
|
||||||
system call was introduced in Linux 2.1.23.
|
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 ()
|
.BR poll ()
|
||||||
library call was introduced in libc 5.4.28
|
wrapper function provides emulation using
|
||||||
(and provides emulation using
|
.BR select (2).
|
||||||
.BR select (2)
|
|
||||||
if your kernel does not
|
|
||||||
have a
|
|
||||||
.BR poll ()
|
|
||||||
system call).
|
|
||||||
|
|
||||||
The
|
The
|
||||||
.BR ppoll ()
|
.BR ppoll ()
|
||||||
|
|
Loading…
Reference in New Issue