Print this page
10067 Miscellaneous man page typos
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Reviewed by: Volker A. Brandt <vab@bb-c.de>
@@ -56,27 +56,27 @@
The nfds argument specifies the range of file descriptors to be tested.
The first nfds descriptors are checked in each set; that is, the
descriptors from zero through ``nfds - 1'' in the descriptor sets are
examined.
- If the readfs argument is not a null pointer, it points to an object of
+ If the readfds argument is not a null pointer, it points to an object of
type fd_set that on input specifies the file descriptors to be checked
for being ready to read, and on output indicates which file descriptors
are ready to read.
- If the writefs argument is not a null pointer, it points to an object of
+ If the writefds argument is not a null pointer, it points to an object of
type fd_set that on input specifies the file descriptors to be checked
for being ready to write, and on output indicates which file descriptors
are ready to write.
If the errorfds argument is not a null pointer, it points to an object of
type fd_set that on input specifies the file descriptors to be checked
for error conditions pending, and on output indicates which file
descriptors have error conditions pending.
- Upon successful completion, the objects pointed to by the readfs,
- writefs, and errorfds arguments are modified to indicate which file
+ Upon successful completion, the objects pointed to by the readfds,
+ writefds, and errorfds arguments are modified to indicate which file
descriptors are ready for reading, ready for writing, or have an error
condition pending, respectively, and return the total number of ready
descriptors in all the output sets. For each file descriptor less than
nfds, the corresponding bit will be set on successful completion if it
was set on input and the associated condition is true for that file
@@ -166,13 +166,13 @@
one of the masks to be returned with a valid (non-zero) value. If the
time limit expires before any event occurs that would cause one of the
masks to be set to a non-zero value, select() completes successfully and
returns 0.
- If the readfs, writefds, and errorfds arguments are all null pointers and
- the timeout argument is not a null pointer, select() or pselect() blocks
- for the time specified, or until interrupted by a signal. If the
+ If the readfds, writefds, and errorfds arguments are all null pointers
+ and the timeout argument is not a null pointer, select() or pselect()
+ blocks for the time specified, or until interrupted by a signal. If the
readfds, writefds, and errorfds arguments are all null pointers and the
timeout argument is a null pointer, select() blocks until interrupted by
a signal.
File descriptors associated with regular files always select true for