CONTENTS | INDEX | PREV | NEXT

 ioctl

 NAME
  ioctl - IO control on file descriptor

 SYNOPSIS
  int r = ioctl(fd, req, parg1, parg2);
  int fd;
  int req;
  int *parg1;
  int *parg2;

 FUNCTION
  execute an IO control on the file descriptor.  Currently no IO
  controls are implemented.

 EXAMPLE

 INPUTS
  int fd;     file descriptor
  int req;    request from <ioctl.h>
  int *parg1; address of argument #1
  int *parg2; address of argument #2

 RESULTS
  int r;      result, error if < 0.