Back to index

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

Go to the source code of this file.

Functions

int kioctl (int fdes, int cmd, unsigned long int arg, unsigned long int ext)
int __ioctl (int fdes, unsigned long int cmd,...)

Function Documentation

int __ioctl ( int  fdes,
unsigned long int  cmd,
  ... 
)

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:

int kioctl ( int  fdes,
int  cmd,
unsigned long int  arg,
unsigned long int  ext 
)

Here is the caller graph for this function: