System call for device-specific input/output operations
This article includes a list of general references, but it lacks sufficient corresponding inline citations. Please help to improve this article by introducing more precise citations.(February 2010) (Learn how and when to remove this message)
In computing, ioctl (an abbreviation of input/output control) is a system call for device-specific input/output operations and other operations which cannot be expressed by regular file semantics. It takes a parameter specifying a request code; the effect of a call depends completely on the request code. Request codes are often device-specific. For instance, a CD-ROM device driver which can instruct a physical device to eject a disc would provide an ioctl request code to do so. Device-independent request codes are sometimes used to give userspace access to kernel functions which are only used by core system software or still under development.
The ioctl system call first appeared in Version 7 of Unix under that name. It is supported by most Unix and Unix-like systems, including Linux and macOS, though the available request codes differ from system to system. Microsoft Windows provides a similar function, named "DeviceIoControl", in its Win32 API.
In computing, ioctl (an abbreviation of input/output control) is a system call for device-specific input/output operations and other operations which...
code is now used to indicate that an invalid ioctl (input/output control) number was specified in an ioctl system call. This error originated in early...
POSIX/SUS-compatible. Kernel mode Linux kernel stat, splice, dup, read, open, ioctl, write, mmap, close, exit, etc. (about 380 system calls) The Linux kernel...
to talk to the GPU must open this file and use ioctl calls to communicate with DRM. Different ioctls correspond to different functions of the DRM API...
AF_NETLINKsocket family. Netlink is designed to be a more flexible successor to ioctl; RFC 3549 describes the protocol in detail. Netlink was created by Alexey...
with an ioctl interface may also include: /dev/pf – allows userland processes to control PF through an ioctl interface. /dev/bio – provides ioctl access...
at the expense of occasionally requiring additional mechanisms such as ioctl and mode flags to access features of the hardware that did not fit the simple...
strace 5.12). strace supports decoding of arguments of some classes of ioctl commands, such as BTRFS_*, V4L2_*, DM_*, NSFS_*, MEM*, EVIO*, KVM_*, and...
system administrator to control these patrol reads through the BIOCPATROL ioctl on the /dev/bio pseudo-device; as of 2019, this functionality is supported...
querying and modifying all of these modes and control characters was the ioctl() system call. (This replaced the stty() and gtty() system calls of Sixth...
(ext4, Btrfs, XFS, JFS, FAT32, and many more). Configurable I/O schedulers, ioctl(2) syscall that manipulates the underlying device parameters of special...
hardware monitoring, whereas NetBSD uses the ioctl system call for its sysmon envsys counterpart. Both sysctl and ioctl are the two system calls which can be...
easily be implemented using the Windows API, such as fork(), mmap() and ioctl(). Applications written using a cross-platform library that has itself been...
formatted in HFS+. Third-party bootloaders needed to be "blessed" by a special ioctl command before becoming bootable by the firmware, a relic of the System...
by the chattr command. Programs can examine and alter attributes using ioctl operations. Many Linux file systems support only a limited set of attributes...
is based on standard Unix devices system calls (i.e. POSIX read, write, ioctl, etc.). The term also sometimes refers to the software in a Unix kernel...
more complex operations, the programs can use console and terminal special ioctl system calls. One can compare devices using the patterns vcs ("virtual console...
Block (CDB) messages to SCSI devices. The interfaces are IOCTL_SCSI_PASS_THROUGH and IOCTL_SCSI_PASS_THROUGH_DIRECT. Applications can build a pass-through...
POSIX/SUS-compatible. Kernel mode Linux kernel stat, splice, dup, read, open, ioctl, write, mmap, close, exit, etc. (about 380 system calls) The Linux kernel...
and accesses all objects as a file would be accessed (i.e., there is no ioctl or mmap): networking, graphics, debugging, authentication, capabilities...
shutdown() (shuts down one or both halves of a full duplex connection) ioctl() (a large collection of miscellaneous operations on a single file descriptor...
booted. Interfacing between the kernel and userland is performed through the ioctl system call through the /dev/bio pseudo-device. The bio/bioctl subsystem...
exists for seeking, nor for performing "I/O control" functions such as ioctl() in Unix. Indeed, the KERNAL proves much closer to the Plan-9 philosophy...
by writing a zero character to /dev/watchdog or by calling a KEEPALIVE ioctl. The device driver, which serves to abstract the watchdog hardware from...
under the existing device I/O system calls (open, close, read, write, and ioctl), and its application was limited to terminal I/O and protocols providing...
believed to be a denial of service vulnerability. With the use of the TIOCSTI ioctl, it was possible for authenticated users to inject characters into other...
association and disassociation of a file with a loop device is performed with the ioctl system call on a loop device. Device file system Network block device cloop...