diff doc/posix-functions/select.texi @ 9638:070329237839

Rename two directories: headers -> posix-headers, functions -> posix-functions.
author Bruno Haible <bruno@clisp.org>
date Sun, 20 Jan 2008 00:09:59 +0100 (2008-01-19)
parents
children 5dea16e54210
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/doc/posix-functions/select.texi
@@ -0,0 +1,30 @@
+@node select
+@section @code{select}
+@findex select
+
+POSIX specification: @url{http://www.opengroup.org/susv3xsh/select.html}
+
+Gnulib module: ---
+
+Portability problems fixed by Gnulib:
+@itemize
+@end itemize
+
+Portability problems not fixed by Gnulib:
+@itemize
+@item
+This function is missing on some platforms:
+mingw.
+@item
+When you call @code{select} with a timeout, some implementations modify the
+timeout parameter so that upon return from the function, it contains the
+amount of time not slept.  Other implementations leave the timeout parameter
+unmodified.
+@item
+On Windows platforms (excluding Cygwin) and on BeOS, @code{select} can only be
+called on descriptors created by the @code{socket} function, not on regular
+file descriptors.
+@item
+On Linux, when some file descriptor refers to a regular file, @code{select}
+may fail, setting @code{errno} to @code{EBADF}.
+@end itemize