mirror of https://github.com/mkerrisk/man-pages
poll.2: Clarify wording of 'timeout' as a "minimum" interval
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
82a6092b03
commit
0d9101c438
10
man2/poll.2
10
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.
|
||||
|
|
Loading…
Reference in New Issue