diff options
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/select.2 | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lib/libc/sys/select.2 b/lib/libc/sys/select.2 index 938f0ec..b320099 100644 --- a/lib/libc/sys/select.2 +++ b/lib/libc/sys/select.2 @@ -104,10 +104,15 @@ to the maximum number of descriptors supported by the system. .Pp If .Fa timeout -is a non-nil pointer, it specifies a maximum interval to wait for the -selection to complete. If +is a non-nil pointer, it specifies the maximum interval to wait for the +selection to complete. System activity can lengthen the interval by +an indeterminate amount. +.Pp +If .Fa timeout -is a nil pointer, the select blocks indefinitely. To effect a poll, the +is a nil pointer, the select blocks indefinitely. +.Pp +To effect a poll, the .Fa timeout argument should be non-nil, pointing to a zero-valued timeval structure. .Pp |