From 0d9101c43871b14e1a538bfc808e8e75bc1d23ab Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 4 Sep 2013 10:28:50 +0200 Subject: [PATCH] poll.2: Clarify wording of 'timeout' as a "minimum" interval Signed-off-by: Michael Kerrisk --- man2/poll.2 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/man2/poll.2 b/man2/poll.2 index 79be7c47a..b0159d202 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 2013-07-30 "Linux" "Linux Programmer's Manual" +.TH POLL 2 2013-09-04 "Linux" "Linux Programmer's Manual" .SH NAME poll, ppoll \- wait for some event on a file descriptor .SH SYNOPSIS @@ -122,12 +122,12 @@ blocks until one of the events occurs. The .I timeout -argument specifies the minimum number of milliseconds that +argument specifies the number of milliseconds that .BR poll () -will block. -(This interval will be rounded up to the system clock granularity, +should block waiting for a file descriptor to become ready. +This interval will be rounded up to the system clock granularity, and kernel scheduling delays mean that the blocking interval -may overrun by a small amount.) +may overrun by a small amount. Specifying a negative value in .I timeout means an infinite timeout.