5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/select.html}
9 Portability problems fixed by Gnulib:
12 On Windows platforms (excluding Cygwin), @code{select} can only be
13 called on descriptors created by the @code{socket} function, not on regular
16 On Windows platforms (excluding Cygwin), error codes for @code{accept} are not
17 placed in @code{errno}, and @code{WSAGetLastError} must be used instead.
19 This function fails when the @code{nfds} argument is 0 on some platforms:
23 Portability problems not fixed by Gnulib:
26 When you call @code{select} with a timeout, some implementations modify the
27 timeout parameter so that upon return from the function, it contains the
28 amount of time not slept. Other implementations leave the timeout parameter
31 On BeOS, @code{select} can only be called on descriptors created by the
32 @code{socket} function, not on regular file descriptors.
34 On Solaris 2.6 and older, @code{select} applied to a file descriptor opened
35 for reading and associated with @code{/dev/null} hangs, waiting for input,
36 when instead it should return immediately.
38 On Linux, when some file descriptor refers to a regular file, @code{select}
39 may fail, setting @code{errno} to @code{EBADF}.
41 This function is declared in @code{<unistd.h>}, not @code{<sys/select.h>},