+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.
+
2008-09-29 Paolo Bonzini <bonzini@gnu.org>
Bruno Haible <bruno@clisp.org>
POSIX specification: @url{http://www.opengroup.org/susv3xsh/accept.html}
-Gnulib module: ---
+Gnulib module: sys_socket
Portability problems fixed by Gnulib:
@itemize
+@item
+On Windows platforms (excluding Cygwin), the descriptors returned by
+the @code{accept} function can not be used in calls to @code{read},
+@code{write}, and @code{close}; you have to use @code{recv}, @code{send},
+@code{closesocket} in these cases instead.
+@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.
+On BeOS, the descriptors returned by the @code{accept} function can not be used
+in calls to @code{read}, @code{write}, and @code{close}; you have to use
+@code{recv}, @code{send}, @code{closesocket} in these cases instead.
@item
Some platforms don't have a @code{socklen_t} type; in this case this function's
third argument type is @samp{int *}.
POSIX specification: @url{http://www.opengroup.org/susv3xsh/bind.html}
-Gnulib module: ---
+Gnulib module: sys_socket
Portability problems fixed by Gnulib:
@itemize
+@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.
@end itemize
POSIX specification: @url{http://www.opengroup.org/susv3xsh/close.html}
-Gnulib module: ---
+Gnulib module: sys_socket
Portability problems fixed by Gnulib:
@itemize
+@item
+On Windows platforms (excluding Cygwin), @code{socket} and @code{accept}
+do not return file descriptors that can be closed by @code{close}.
+Instead, @code{closesocket} must be used.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
+@item
+On BeOS, @code{socket} and @code{accept} do not return file descriptors
+that can be closed by @code{close}. Instead, @code{closesocket} must be
+used.
@end itemize
POSIX specification: @url{http://www.opengroup.org/susv3xsh/connect.html}
-Gnulib module: ---
+Gnulib module: sys_socket
Portability problems fixed by Gnulib:
@itemize
+@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.
@end itemize
POSIX specification: @url{http://www.opengroup.org/susv3xsh/getpeername.html}
-Gnulib module: ---
+Gnulib module: sys_socket
Portability problems fixed by Gnulib:
@itemize
+@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
Some platforms don't have a @code{socklen_t} type; in this case this function's
third argument type is @samp{int *}.
@end itemize
POSIX specification: @url{http://www.opengroup.org/susv3xsh/getsockname.html}
-Gnulib module: ---
+Gnulib module: sys_socket
Portability problems fixed by Gnulib:
@itemize
+@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:
POSIX specification: @url{http://www.opengroup.org/susv3xsh/getsockopt.html}
-Gnulib module: ---
+Gnulib module: sys_socket
Portability problems fixed by Gnulib:
@itemize
+@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, BeOS.
+BeOS.
@item
Some platforms don't have a @code{socklen_t} type; in this case this function's
fifth argument type is @samp{int *}.
POSIX specification: @url{http://www.opengroup.org/susv3xsh/ioctl.html}
-Gnulib module: ---
+Gnulib module: sys_socket
Portability problems fixed by Gnulib:
@itemize
+@item
+On Windows platforms (excluding Cygwin), error codes for @code{accept} are not
+placed in @code{errno}, and @code{WSAGetLastError} must be used instead.
+@item
+@code{ioctl} is called @code{ioctlsocket} under mingw
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
-This function is missing on some platforms:
-mingw.
-@item
Most @code{ioctl} requests are platform and hardware specific.
@end itemize
POSIX specification: @url{http://www.opengroup.org/susv3xsh/listen.html}
-Gnulib module: ---
+Gnulib module: sys_socket
Portability problems fixed by Gnulib:
@itemize
+@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.
@end itemize
POSIX specification: @url{http://www.opengroup.org/susv3xsh/recv.html}
-Gnulib module: ---
+Gnulib module: sys_socket
Portability problems fixed by Gnulib:
@itemize
+@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.
@end itemize
POSIX specification: @url{http://www.opengroup.org/susv3xsh/recvfrom.html}
-Gnulib module: ---
+Gnulib module: sys_socket
Portability problems fixed by Gnulib:
@itemize
+@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
Some platforms don't have a @code{socklen_t} type; in this case this function's
sixth argument type is @samp{int *}.
@end itemize
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}.
POSIX specification: @url{http://www.opengroup.org/susv3xsh/send.html}
-Gnulib module: ---
+Gnulib module: sys_socket
Portability problems fixed by Gnulib:
@itemize
+@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.
@end itemize
POSIX specification: @url{http://www.opengroup.org/susv3xsh/sendto.html}
-Gnulib module: ---
+Gnulib module: sys_socket
Portability problems fixed by Gnulib:
@itemize
+@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.
@end itemize
POSIX specification: @url{http://www.opengroup.org/susv3xsh/setsockopt.html}
-Gnulib module: ---
+Gnulib module: sys_socket
Portability problems fixed by Gnulib:
@itemize
+@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
Many socket options are not available on all platforms.
@end itemize
POSIX specification: @url{http://www.opengroup.org/susv3xsh/socket.html}
-Gnulib module: ---
+Gnulib module: sys_socket
Portability problems fixed by Gnulib:
@itemize
+@item
+On Windows platforms (excluding Cygwin), the descriptors returned by
+the @code{socket} function can not be used in calls to @code{read},
+@code{write}, and @code{close}; you have to use @code{recv}, @code{send},
+@code{closesocket} in these cases instead.
+@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
On BeOS, the descriptors returned by the @code{socket} function can not be used
in calls to @code{read}, @code{write}, and @code{close}; you have to use
@code{recv}, @code{send}, @code{closesocket} in these cases instead.