mirror of https://github.com/mkerrisk/man-pages
select.2: Clarify wording of 'timeout' as a "minimum" interval
Reported-by: G.raud <graud@gmx.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
7ab222df40
commit
073f0240a4
|
@ -35,7 +35,7 @@
|
|||
.\" 2005-03-11, mtk, modified pselect() text (it is now a system
|
||||
.\" call in 2.6.16.
|
||||
.\"
|
||||
.TH SELECT 2 2012-08-17 "Linux" "Linux Programmer's Manual"
|
||||
.TH SELECT 2 2013-09-04 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
select, pselect, FD_CLR, FD_ISSET, FD_SET, FD_ZERO \-
|
||||
synchronous I/O multiplexing
|
||||
|
@ -159,12 +159,12 @@ is the highest-numbered file descriptor in any of the three sets, plus 1.
|
|||
.PP
|
||||
The
|
||||
.I timeout
|
||||
argument specifies the minimum interval that
|
||||
argument specifies the interval that
|
||||
.BR select ()
|
||||
should block waiting for a file descriptor to become ready.
|
||||
(This interval will be rounded up to the system clock granularity,
|
||||
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.
|
||||
If both fields of the
|
||||
.I timeval
|
||||
structure are zero, then
|
||||
|
|
Loading…
Reference in New Issue