summaryrefslogtreecommitdiff
path: root/doc/posix-functions/select.texi
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2008-09-29 13:23:50 +0200
committerPaolo Bonzini <bonzini@gnu.org>2008-09-29 13:28:59 +0200
commit32848a0b172a6f0f4f7122cc1c7c1050f85094df (patch)
tree504c55dbd1b0beb6903fd492288412c6f87eaedc /doc/posix-functions/select.texi
parent305951edfeb48e73ea5af3cd9b97e1642e439a0e (diff)
downloadgnulib-32848a0b172a6f0f4f7122cc1c7c1050f85094df.tar.gz
documentation update for mingw socket functions
2008-08-24 Paolo Bonzini <bonzini@gnu.org> * doc/posix-functions/accept.texi: Update mingw problems. * doc/posix-functions/bind.texi: Update mingw problems. * doc/posix-functions/close.texi: Update mingw problems. * doc/posix-functions/connect.texi: Update mingw problems. * doc/posix-functions/getpeername.texi: Update mingw problems. * doc/posix-functions/getsockname.texi: Update mingw problems. * doc/posix-functions/getsockopt.texi: Update mingw problems. * doc/posix-functions/ioctl.texi: Update mingw problems. * doc/posix-functions/listen.texi: Update mingw problems. * doc/posix-functions/recv.texi: Update mingw problems. * doc/posix-functions/recvfrom.texi: Update mingw problems. * doc/posix-functions/select.texi: Update mingw problems. * doc/posix-functions/send.texi: Update mingw problems. * doc/posix-functions/sendto.texi: Update mingw problems. * doc/posix-functions/setsockopt.texi: Update mingw problems. * doc/posix-functions/socket.texi: Update mingw problems.
Diffstat (limited to 'doc/posix-functions/select.texi')
-rw-r--r--doc/posix-functions/select.texi17
1 files changed, 10 insertions, 7 deletions
diff --git a/doc/posix-functions/select.texi b/doc/posix-functions/select.texi
index 1c6475263e..81e56116bb 100644
--- a/doc/posix-functions/select.texi
+++ b/doc/posix-functions/select.texi
@@ -4,26 +4,29 @@
POSIX specification: @url{http://www.opengroup.org/susv3xsh/select.html}
-Gnulib module: ---
+Gnulib module: sys_select
Portability problems fixed by Gnulib:
@itemize
+@item
+On Windows platforms (excluding Cygwin), @code{select} can only be
+called on descriptors created by the @code{socket} function, not on regular
+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.
@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.
+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}.