5 POSIX specification: @url{http://www.opengroup.org/susv3xsh/select.html}
7 Gnulib module: sys_select
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.
20 Portability problems not fixed by Gnulib:
23 When you call @code{select} with a timeout, some implementations modify the
24 timeout parameter so that upon return from the function, it contains the
25 amount of time not slept. Other implementations leave the timeout parameter
28 On BeOS, @code{select} can only be called on descriptors created by the
29 @code{socket} function, not on regular file descriptors.
31 On Linux, when some file descriptor refers to a regular file, @code{select}
32 may fail, setting @code{errno} to @code{EBADF}.