2 ioctl() function: issue device specific requests on files, devices, or sockets.
14 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
15 if test "$ac_cv_header_winsock2_h" = yes; then
16 dnl Even if the 'socket' module is not used here, another part of the
17 dnl application may use it and pass file descriptors that refer to
18 dnl sockets to the ioctl() function. So enable the support for sockets.
20 gl_REPLACE_SYS_IOCTL_H
22 gl_SYS_IOCTL_MODULE_INDICATOR([ioctl])
23 gl_MODULE_INDICATOR([ioctl])
34 Paolo Bonzini, Simon Josefsson, Bruno Haible