From 6f0b2c8c9af71451c4a8c2f4db614142b78632cc Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sat, 5 May 2012 11:37:46 +1200 Subject: [PATCH] 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 --- man2/poll.2 | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/man2/poll.2 b/man2/poll.2 index ae3243a90..ee5335333 100644 --- a/man2/poll.2 +++ b/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 ()