ioctl
=====

POSIX specification: http://www.opengroup.org/susv3xsh/ioctl.html

Gnulib module: ioctl

Portability problems fixed by Gnulib:

  * On Windows platforms (excluding Cygwin), error codes for ioctl are not placed in errno, and WSAGetLastError must be used instead.

  * ioctl is called ioctlsocket under mingw

Portability problems not fixed by Gnulib:

  * Most ioctl requests are platform and hardware specific.