Table of Contents
The
function manipulates the underlying device parameters of special files.
In particular, many operating characteristics of character special files
(e.g. terminals) may be controlled with requests. The argument must be an
open file descriptor. An ioctl has encoded in it whether the argument
is an parameter or parameter, and the size of the argument in bytes.
Macros and defines used in specifying an ioctl are located in the file
If an error has occurred, a value of -1 is returned and is
set to indicate the error.
will fail if: is not a valid descriptor.
is not associated with a character special device. The specified request
does not apply to the kind of object that the descriptor references.
or is not valid.
An function call appeared in
Table of Contents