X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fposix-functions%2Fioctl.texi;h=0afe64bb1b6e7c590b7671b61606f0c225a0e817;hb=30c3201628476927fee18e778dacafe1dadd7de2;hp=86235d897c79e8047e18039e4b02a36d6fee2dff;hpb=32848a0b172a6f0f4f7122cc1c7c1050f85094df;p=gnulib.git diff --git a/doc/posix-functions/ioctl.texi b/doc/posix-functions/ioctl.texi index 86235d897..0afe64bb1 100644 --- a/doc/posix-functions/ioctl.texi +++ b/doc/posix-functions/ioctl.texi @@ -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: