mirror of https://github.com/mkerrisk/man-pages
select.2: Give a hint that sets must be reinitialized if using select() in a loop
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
47da6ce7fd
commit
cd2ea4b451
|
@ -147,6 +147,9 @@ will be watched for exceptional conditions.
|
|||
|
||||
On exit, each of the file descriptor sets is modified in place
|
||||
to indicate which file descriptors actually changed status.
|
||||
(Thus, if using
|
||||
.BR select ()
|
||||
within a loop, the sets must be reinitialized before each call.)
|
||||
|
||||
Each of the three file descriptor sets may be specified as NULL
|
||||
if no file descriptors are to be watched for the corresponding class
|
||||
|
|
Loading…
Reference in New Issue