summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/select.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/select.2')
-rw-r--r--lib/libc/sys/select.215
1 files changed, 4 insertions, 11 deletions
diff --git a/lib/libc/sys/select.2 b/lib/libc/sys/select.2
index 193c903..d90d521 100644
--- a/lib/libc/sys/select.2
+++ b/lib/libc/sys/select.2
@@ -108,23 +108,18 @@ to the maximum number of descriptors supported by the system.
.Pp
If
.Fa timeout
-is not a
-.Dv NULL
-pointer, it specifies the maximum interval to wait for the
+is not a null 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
-.Dv NULL
-pointer, the select blocks indefinitely.
+is a null pointer, the select blocks indefinitely.
.Pp
To effect a poll, the
.Fa timeout
-argument should not be
-.Dv NULL ,
+argument should not be a null pointer,
but it should point to a zero-valued timeval structure.
.Pp
Any of
@@ -132,9 +127,7 @@ Any of
.Fa writefds ,
and
.Fa exceptfds
-may be given as
-.Dv NULL
-pointers if no descriptors are of interest.
+may be given as null pointers if no descriptors are of interest.
.Sh RETURN VALUES
The
.Fn select
OpenPOWER on IntegriCloud