5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/ioctl.html}
10 @url{https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-ioctl-2.html}
12 @url{https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-ttyio-2.html}
14 @url{https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-sockio-2.html}
19 Portability problems fixed by Gnulib:
22 On Windows platforms (excluding Cygwin), @code{ioctl} is called
23 @code{ioctlsocket}, and error codes from this function are not placed in
24 @code{errno}, and @code{WSAGetLastError} must be used instead.
26 The second parameter is of type @code{unsigned long} rather than @code{int}
28 glibc 2.26, Mac OS X 10.13, FreeBSD 11.0, NetBSD 9.0, OpenBSD 6.7, Haiku 2017.
31 Portability problems not fixed by Gnulib:
34 Most @code{ioctl} requests are platform and hardware specific.