+2024-08-11 Bruno Haible <bruno@clisp.org>
+
+ doc: Update regarding Windows <winsock2.h> functions.
+ * doc/posix-functions/accept.texi: Mention that it's declared elsewhere
+ on native Windows.
+ * doc/posix-functions/bind.texi: Likewise.
+ * doc/posix-functions/connect.texi: Likewise.
+ * doc/posix-functions/getpeername.texi: Likewise.
+ * doc/posix-functions/getsockname.texi: Likewise.
+ * doc/posix-functions/getsockopt.texi: Likewise.
+ * doc/posix-functions/listen.texi: Likewise.
+ * doc/posix-functions/recv.texi: Likewise.
+ * doc/posix-functions/recvfrom.texi: Likewise.
+ * doc/posix-functions/select.texi: Likewise.
+ * doc/posix-functions/send.texi: Likewise.
+ * doc/posix-functions/sendto.texi: Likewise.
+ * doc/posix-functions/setsockopt.texi: Likewise.
+ * doc/posix-functions/shutdown.texi: Likewise.
+ * doc/posix-functions/socket.texi: Likewise.
+ * doc/pastposix-functions/gethostbyaddr.texi: Don't say that the
+ function is missing on native Windows.
+ * doc/pastposix-functions/gethostbyname.texi: Likewise.
+ * doc/posix-functions/getprotobyname.texi: Likewise.
+ * doc/posix-functions/getprotobynumber.texi: Likewise.
+ * doc/posix-functions/getservbyname.texi: Likewise.
+ * doc/posix-functions/getservbyport.texi: Likewise.
+ * doc/posix-functions/htonl.texi: Likewise.
+ * doc/posix-functions/htons.texi: Likewise.
+ * doc/posix-functions/inet_addr.texi: Likewise.
+ * doc/posix-functions/inet_ntoa.texi: Likewise.
+ * doc/posix-functions/ntohl.texi: Likewise.
+ * doc/posix-functions/ntohs.texi: Likewise.
+ * doc/posix-functions/gethostname.texi: Update.
+
2024-08-10 Paul Eggert <eggert@cs.ucla.edu>
test-fdutimensat: fix newly-added test
Portability problems not fixed by Gnulib:
@itemize
@item
-This function is missing on some platforms:
+This function is declared in @code{<winsock2.h>} instead of @code{<netdb.h>}
+on some platforms:
mingw, MSVC 14.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
-This function is missing on some platforms:
+This function is declared in @code{<winsock2.h>} instead of @code{<netdb.h>}
+on some platforms:
mingw, MSVC 14.
@end itemize
Portability problems fixed by Gnulib:
@itemize
@item
+This function is declared in @code{<winsock2.h>}
+instead of @code{<sys/socket.h>}
+on some platforms:
+mingw, MSVC 14.
+@item
On Windows platforms (excluding Cygwin), the descriptors returned by
the @code{accept} function cannot be used in calls to @code{read},
@code{write}, and @code{close}; you have to use @code{recv}, @code{send},
Portability problems fixed by Gnulib:
@itemize
@item
+This function is declared in @code{<winsock2.h>}
+instead of @code{<sys/socket.h>}
+on some platforms:
+mingw, MSVC 14.
+@item
On Windows platforms (excluding Cygwin), error codes from this function
are not placed in @code{errno}, and @code{WSAGetLastError} must be used
instead.
Portability problems fixed by Gnulib:
@itemize
@item
+This function is declared in @code{<winsock2.h>}
+instead of @code{<sys/socket.h>}
+on some platforms:
+mingw, MSVC 14.
+@item
On Windows platforms (excluding Cygwin), error codes from this function
are not placed in @code{errno}, and @code{WSAGetLastError} must be used
instead.
Portability problems fixed by Gnulib:
@itemize
@item
-This function is declared in a different header file (namely,
-@code{<winsock2.h>}) on some platforms:
+This function is declared in @code{<winsock2.h>} instead of @code{<unistd.h>}
+on some platforms:
MSVC 14.
@item
On mingw and MSVC 14, this function has a prototype that differs from that
Portability problems fixed by Gnulib:
@itemize
@item
+This function is declared in @code{<winsock2.h>}
+instead of @code{<sys/socket.h>}
+on some platforms:
+mingw, MSVC 14.
+@item
On Windows platforms (excluding Cygwin), error codes from this function
are not placed in @code{errno}, and @code{WSAGetLastError} must be used
instead.
Portability problems not fixed by Gnulib:
@itemize
@item
-This function is missing on some platforms:
+This function is declared in @code{<winsock2.h>} instead of @code{<netdb.h>}
+on some platforms:
mingw, MSVC 14.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
-This function is missing on some platforms:
+This function is declared in @code{<winsock2.h>} instead of @code{<netdb.h>}
+on some platforms:
mingw, MSVC 14.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
-This function is missing on some platforms:
+This function is declared in @code{<winsock2.h>} instead of @code{<netdb.h>}
+on some platforms:
mingw, MSVC 14.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
-This function is missing on some platforms:
+This function is declared in @code{<winsock2.h>} instead of @code{<netdb.h>}
+on some platforms:
mingw, MSVC 14.
@end itemize
Portability problems fixed by Gnulib:
@itemize
@item
+This function is declared in @code{<winsock2.h>}
+instead of @code{<sys/socket.h>}
+on some platforms:
+mingw, MSVC 14.
+@item
On Windows platforms (excluding Cygwin), error codes from this function
are not placed in @code{errno}, and @code{WSAGetLastError} must be used
instead.
Portability problems fixed by Gnulib:
@itemize
@item
+This function is declared in @code{<winsock2.h>}
+instead of @code{<sys/socket.h>}
+on some platforms:
+mingw, MSVC 14.
+@item
On Windows platforms (excluding Cygwin), error codes from this function
are not placed in @code{errno}, and @code{WSAGetLastError} must be used
instead.
@itemize
@item
This function is missing on some platforms:
-HP-UX 11, mingw, MSVC 14, Android 4.4.
+HP-UX 11, Android API level 20.
+@item
+This function is declared in @code{<winsock2.h>} instead of @code{<arpa/inet.h>}
+on some platforms:
+mingw, MSVC 14.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
-HP-UX 11, mingw, MSVC 14, Android 4.4.
+HP-UX 11, Android API level 20.
+@item
+This function is declared in @code{<winsock2.h>} instead of @code{<arpa/inet.h>}
+on some platforms:
+mingw, MSVC 14.
@end itemize
Portability problems not fixed by Gnulib:
Portability problems not fixed by Gnulib:
@itemize
@item
-This function is missing on some platforms:
+This function is declared in @code{<winsock2.h>} instead of @code{<arpa/inet.h>}
+on some platforms:
mingw, MSVC 14.
@item
POSIX.1-2024 says this function is obsolescent and it is planned to be
Portability problems not fixed by Gnulib:
@itemize
@item
-This function is missing on some platforms:
+This function is declared in @code{<winsock2.h>} instead of @code{<arpa/inet.h>}
+on some platforms:
mingw, MSVC 14.
@item
POSIX.1-2024 says this function is obsolescent and it is planned to be
Portability problems fixed by Gnulib:
@itemize
@item
+This function is declared in @code{<winsock2.h>}
+instead of @code{<sys/socket.h>}
+on some platforms:
+mingw, MSVC 14.
+@item
On Windows platforms (excluding Cygwin), error codes from this function
are not placed in @code{errno}, and @code{WSAGetLastError} must be used
instead.
@itemize
@item
This function is missing on some platforms:
-HP-UX 11, mingw, MSVC 14, Android 4.4.
+HP-UX 11, Android API level 20.
+@item
+This function is declared in @code{<winsock2.h>} instead of @code{<arpa/inet.h>}
+on some platforms:
+mingw, MSVC 14.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
-HP-UX 11, mingw, MSVC 14, Android 4.4.
+HP-UX 11, Android API level 20.
+@item
+This function is declared in @code{<winsock2.h>} instead of @code{<arpa/inet.h>}
+on some platforms:
+mingw, MSVC 14.
@end itemize
Portability problems not fixed by Gnulib:
Portability problems fixed by Gnulib:
@itemize
@item
+This function is declared in @code{<winsock2.h>}
+instead of @code{<sys/socket.h>}
+on some platforms:
+mingw, MSVC 14.
+@item
On Windows platforms (excluding Cygwin), error codes from this function
are not placed in @code{errno}, and @code{WSAGetLastError} must be used
instead.
Portability problems fixed by Gnulib:
@itemize
@item
+This function is declared in @code{<winsock2.h>}
+instead of @code{<sys/socket.h>}
+on some platforms:
+mingw, MSVC 14.
+@item
On Windows platforms (excluding Cygwin), error codes from this function
are not placed in @code{errno}, and @code{WSAGetLastError} must be used
instead.
Portability problems fixed by Gnulib:
@itemize
@item
+This function is declared in @code{<winsock2.h>}
+instead of @code{<sys/select.h>}
+on some platforms:
+mingw, MSVC 14.
+@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.
Portability problems fixed by Gnulib:
@itemize
@item
+This function is declared in @code{<winsock2.h>}
+instead of @code{<sys/socket.h>}
+on some platforms:
+mingw, MSVC 14.
+@item
On Windows platforms (excluding Cygwin), error codes from this function
are not placed in @code{errno}, and @code{WSAGetLastError} must be used
instead.
Portability problems fixed by Gnulib:
@itemize
@item
+This function is declared in @code{<winsock2.h>}
+instead of @code{<sys/socket.h>}
+on some platforms:
+mingw, MSVC 14.
+@item
On Windows platforms (excluding Cygwin), error codes from this function
are not placed in @code{errno}, and @code{WSAGetLastError} must be used
instead.
Portability problems fixed by Gnulib:
@itemize
@item
+This function is declared in @code{<winsock2.h>}
+instead of @code{<sys/socket.h>}
+on some platforms:
+mingw, MSVC 14.
+@item
On Windows platforms (excluding Cygwin), error codes from this function
are not placed in @code{errno}, and @code{WSAGetLastError} must be used
instead.
Portability problems fixed by Gnulib:
@itemize
@item
+This function is declared in @code{<winsock2.h>}
+instead of @code{<sys/socket.h>}
+on some platforms:
+mingw, MSVC 14.
+@item
On Windows platforms (excluding Cygwin), error codes from this function
are not placed in @code{errno}, and @code{WSAGetLastError} must be used
instead.
Portability problems fixed by Gnulib:
@itemize
@item
+This function is declared in @code{<winsock2.h>}
+instead of @code{<sys/socket.h>}
+on some platforms:
+mingw, MSVC 14.
+@item
On Windows platforms (excluding Cygwin), the descriptors returned by
the @code{socket} function cannot be used in calls to @code{read},
@code{write}, and @code{close}; you have to use @code{recv}, @code{send},