mirror of https://github.com/mkerrisk/man-pages
select.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
0a4d109d22
commit
a84ed70098
|
@ -680,12 +680,12 @@ Modern versions of glibc use the (race-free)
|
|||
.BR pselect ()
|
||||
system call on kernels where it is provided.
|
||||
.PP
|
||||
Under Linux,
|
||||
On Linux,
|
||||
.BR select ()
|
||||
may report a socket file descriptor as "ready for reading", while
|
||||
nevertheless a subsequent read blocks.
|
||||
This could for example
|
||||
happen when data has arrived but upon examination has wrong
|
||||
happen when data has arrived but upon examination has the wrong
|
||||
checksum and is discarded.
|
||||
There may be other circumstances
|
||||
in which a file descriptor is spuriously reported as ready.
|
||||
|
|
Loading…
Reference in New Issue