Back to index

glibc  2.9
Functions
ioctl.h File Reference
#include <misc/sys/ioctl.h>

Go to the source code of this file.

Functions

int __ioctl (int __fd, unsigned long int __request,...)

Function Documentation

int __ioctl ( int  __fd,
unsigned long int  __request,
  ... 
)

Definition at line 26 of file ioctl.c.

{
  va_list va;
  int res;
  unsigned long int arg;
  unsigned long int ext;

  va_start (va, cmd);
  arg = va_arg (va, unsigned long int);
  ext = va_arg (va, unsigned long int);

  res = kioctl (fdes, cmd, arg, ext);

  va_end (va);

  return res;
}

Here is the call graph for this function: