Performs device-dependent processing.
The dd_ioctl low function terminal (LFT) device driver interface performs device-dependent processing not related to reading from and writing to the device.
Item | Description |
---|---|
DevNo | Specifies the major and minor device numbers. |
Cmd | Specifies the device-dependent command. |
Arg | Specifies the command-dependent parameter block address. |
DevFlag | Specifies the flag indicating the type of operation. |
Chan | Specifies the channel number (multiplexed devices only). |
Ext | Specifies the extension parameter for device-dependent functions. |
If successful, the dd_ioctl device driver interface returns a value of 0. Otherwise, a value of 1 is returned and the errno global variable is set to indicate the error.