ioctl
From the Linux Programmer's Manual:
- The ioctl function manipulates the underlying device parameters of spe- cial files. In particular, many operating characteristics of character special files (e.g. terminals) may be controlled with ioctl requests.