X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fposix-functions%2Fioctl.texi;h=0afe64bb1b6e7c590b7671b61606f0c225a0e817;hb=f40e1532834adc754cac576a07d43b9556f89a97;hp=85ba764a42f9daa3053ec1fa28790e77af70eb38;hpb=11ee0e1340f95ccb9954e522f6e003b3125eb109;p=gnulib.git diff --git a/doc/posix-functions/ioctl.texi b/doc/posix-functions/ioctl.texi index 85ba764a4..0afe64bb1 100644 --- a/doc/posix-functions/ioctl.texi +++ b/doc/posix-functions/ioctl.texi @@ -2,18 +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: ioctl Portability problems fixed by Gnulib: @itemize @item -On Windows platforms (excluding Cygwin), error codes for @code{ioctl} -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: