projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New module 'atanf'.
[gnulib.git]
/
doc
/
posix-functions
/
select.texi
diff --git
a/doc/posix-functions/select.texi
b/doc/posix-functions/select.texi
index
34896b9
..
e9a916f
100644
(file)
--- a/
doc/posix-functions/select.texi
+++ b/
doc/posix-functions/select.texi
@@
-2,7
+2,7
@@
@section @code{select}
@findex select
@section @code{select}
@findex select
-POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/select.html}
+POSIX specification:
@*
@url{http://www.opengroup.org/onlinepubs/9699919799/functions/select.html}
Gnulib module: select
Gnulib module: select
@@
-15,6
+15,9
@@
file descriptors.
@item
On Windows platforms (excluding Cygwin), error codes for @code{accept} are not
placed in @code{errno}, and @code{WSAGetLastError} must be used instead.
@item
On Windows platforms (excluding Cygwin), error codes for @code{accept} are not
placed in @code{errno}, and @code{WSAGetLastError} must be used instead.
+@item
+This function fails when the @code{nfds} argument is 0 on some platforms:
+Interix 3.5.
@end itemize
Portability problems not fixed by Gnulib:
@end itemize
Portability problems not fixed by Gnulib:
@@
-28,6
+31,10
@@
unmodified.
On BeOS, @code{select} can only be called on descriptors created by the
@code{socket} function, not on regular file descriptors.
@item
On BeOS, @code{select} can only be called on descriptors created by the
@code{socket} function, not on regular file descriptors.
@item
+On Solaris 2.6 and older, @code{select} applied to a file descriptor opened
+for reading and associated with @code{/dev/null} hangs, waiting for input,
+when instead it should return immediately.
+@item
On Linux, when some file descriptor refers to a regular file, @code{select}
may fail, setting @code{errno} to @code{EBADF}.
@end itemize
On Linux, when some file descriptor refers to a regular file, @code{select}
may fail, setting @code{errno} to @code{EBADF}.
@end itemize