view modules/ioctl @ 15042:8e387f7f0bf9

memrchr: Move AC_LIBOBJ invocations to module description. * m4/memrchr.m4 (gl_FUNC_MEMRCHR): Call AC_CHECK_FUNCS instead of AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_MEMRCHR invocations from here... * modules/memrchr (configure.ac): ... to here.
author Bruno Haible <bruno@clisp.org>
date Sat, 21 May 2011 15:25:34 +0200
parents 205da32df725
children b86e9061a6d0
line wrap: on
line source

Description:
ioctl() function: issue device specific requests on files, devices, or sockets.

Files:
lib/ioctl.c
lib/w32sock.h
m4/ioctl.m4

Depends-on:
sys_ioctl
sys_socket      [test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1]
errno           [test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1]
fd-hook         [test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1]

configure.ac:
gl_FUNC_IOCTL
if test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1; then
  AC_LIBOBJ([ioctl])
fi
gl_SYS_IOCTL_MODULE_INDICATOR([ioctl])

Makefile.am:

Include:
<sys/ioctl.h>

License:
LGPLv2+

Maintainer:
Paolo Bonzini, Simon Josefsson, Bruno Haible