regex_internal.h: define __attribute_warn_unused_result__
[gnulib.git] / doc / posix-functions / socket.texi
index 8b2f0b4..32aae91 100644 (file)
@@ -2,7 +2,7 @@
 @section @code{socket}
 @findex socket
 
-POSIX specification: @url{http://www.opengroup.org/susv3xsh/socket.html}
+POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/socket.html}
 
 Gnulib module: socket
 
@@ -14,8 +14,9 @@ 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.
+On Windows platforms (excluding Cygwin), error codes for @code{socket}
+are not placed in @code{errno}, and @code{WSAGetLastError} must be
+used instead.
 @end itemize
 
 Portability problems not fixed by Gnulib: