ioctl − control device
#include <saio/saioctl.h>
ioctl(d, request, argp)
int d;
unsigned long request;
char *argp;
performs a variety of functions on open descriptors. The writeups of various devices in section 4 discuss how applies to them. If an error has occurred, a value of −1 is returned and is set to indicate the error.