IOCTL(3spp) RISC/os Reference Manual IOCTL(3spp)
NAME
ioctl - control device
SYNOPSIS
#include <saio/saioctl.h>
ioctl(d, request, argp)
int d;
unsigned long request;
char *argp;
DESCRIPTION
Ioctl performs a variety of functions on open descriptors.
The description of the supported standalone devices are
described in section 4 of teh manpages (4spp).
RETURN VALUE
If an error has occurred, a value of -1 is returned and
errno is set to indicate the error.
Printed 1/6/92 Page 1