[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 2

dd_ioctl LFT Device Driver Interface


Performs device-dependent processing.


int dd_ioctl (DevNo, Cmd, Arg, DevFlag, Chan, Ext)
dev_t DevNo;
long Cmd, Arg, DevFlag, Chan, Ext;


The dd_ioctl low function terminal (LFT) device driver interface performs device-dependent processing not related to reading from and writing to the device.


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.

Return Values

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.

[ Previous | Next | Contents | Home | Search ]