mirror of https://github.com/mkerrisk/man-pages
select.2: RETURN VALUE: Fix discussion of treatment of file descriptor sets
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574370 Reported-by: Marc Lehmann <debian-reportbug@plan9.de> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
59c4210474
commit
8dc3367531
|
@ -35,7 +35,7 @@
|
|||
.\" 2005-03-11, mtk, modified pselect() text (it is now a system
|
||||
.\" call in 2.6.16.
|
||||
.\"
|
||||
.TH SELECT 2 2013-09-04 "Linux" "Linux Programmer's Manual"
|
||||
.TH SELECT 2 2014-01-24 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
select, pselect, FD_CLR, FD_ISSET, FD_SET, FD_ZERO \-
|
||||
synchronous I/O multiplexing
|
||||
|
@ -299,10 +299,11 @@ descriptor sets (that is, the total number of bits that are set in
|
|||
which may be zero if the timeout expires before anything interesting happens.
|
||||
On error, \-1 is returned, and
|
||||
.I errno
|
||||
is set appropriately; the sets and
|
||||
is set to indicate the error;
|
||||
the file descriptor sets are unmodified,
|
||||
and
|
||||
.I timeout
|
||||
become undefined, so do not
|
||||
rely on their contents after an error.
|
||||
becomes undefined.
|
||||
.SH ERRORS
|
||||
.TP
|
||||
.B EBADF
|
||||
|
|
Loading…
Reference in New Issue