Clarify "zero timeout" case.

This commit is contained in:
Michael Kerrisk 2008-07-14 21:17:23 +00:00
parent 894d8eb522
commit 485eb4ad7a
1 changed files with 4 additions and 2 deletions

View File

@ -161,9 +161,11 @@ is the highest-numbered file descriptor in any of the three sets, plus 1.
is an upper bound on the amount of time elapsed before
.BR select ()
returns.
It may be zero, causing
If both fields of the
.I timeval
stucture are zero, then
.BR select ()
to return immediately.
returns immediately.
(This is useful for polling.)
If
.I timeout