pthread_sigmask: Document the module.
[gnulib.git] / doc / posix-functions / ioctl.texi
index 86235d8..0afe64b 100644 (file)
@@ -2,17 +2,19 @@
 @section @code{ioctl}
 @findex ioctl
 
-POSIX specification: @url{http://www.opengroup.org/susv3xsh/ioctl.html}
+POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/ioctl.html}
 
-Gnulib module: sys_socket
+Gnulib module: ioctl
 
 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.
+On Windows platforms (excluding Cygwin), @code{ioctl} is called
+@code{ioctlsocket}, and error codes for this function are not placed in
+@code{errno}, and @code{WSAGetLastError} must be used instead.
 @item
-@code{ioctl} is called @code{ioctlsocket} under mingw
+On glibc platforms, the second parameter is of type @code{unsigned long}
+rather than @code{int}.
 @end itemize
 
 Portability problems not fixed by Gnulib: