Manipulates the underlying device parameters of special files. In particular, many operating characteristics of miscellaneous devices (e.g. terminals, cd-rom drives, floppy disk drives, modems, file systems, etc.) can be controlled with sys_ioctl requests.
Arguments
eax |
54 |
ebx |
An open file descriptor. |
ecx |
Command to execute. Refer to any of the following command groups for a detailed command reference for that particular device/interface:
|
edx |
This parameter depends on the IOCTL command used. See above. |
Return values
The return value depends on the IOCTL command used. See IOCTL commands description for more information (If not stated otherwise in the command`s description - return value of 0 indicates success, while negative errno value indicates failure).
Remarks
n/a
Compatibility
Some IOCTs may not be available in particular versions of the kernel. |