Rename two directories: headers -> posix-headers, functions -> posix-functions.
[gnulib.git] / doc / posix-functions / select.texi
1 @node select
2 @section @code{select}
3 @findex select
4
5 POSIX specification: @url{http://www.opengroup.org/susv3xsh/select.html}
6
7 Gnulib module: ---
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @end itemize
12
13 Portability problems not fixed by Gnulib:
14 @itemize
15 @item
16 This function is missing on some platforms:
17 mingw.
18 @item
19 When you call @code{select} with a timeout, some implementations modify the
20 timeout parameter so that upon return from the function, it contains the
21 amount of time not slept.  Other implementations leave the timeout parameter
22 unmodified.
23 @item
24 On Windows platforms (excluding Cygwin) and on BeOS, @code{select} can only be
25 called on descriptors created by the @code{socket} function, not on regular
26 file descriptors.
27 @item
28 On Linux, when some file descriptor refers to a regular file, @code{select}
29 may fail, setting @code{errno} to @code{EBADF}.
30 @end itemize