Ioctl
System call
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 read/write/seek regular file semantics. It takes a parameter specifying a request code; the effect of a call depends completely on the request code.
Nº Q837975 ★
Common · Knowledge
Ioctl
System call
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 read/write/seek regular file semantics. It takes a parameter specifying a request code; the effect of a call depends completely on the request code.
From Wikipedia
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 read/write/seek 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.
Text: Wikipédia, CC BY-SA 4.0. ·
Related cards
-
E
Explicitly parallel instruction computing
Instruction set architecture
Nº Q1201158 ★★
Not listed
-
R
Restrict
C keyword used in pointer declarations to assert that pointer aliasing does not occur
Nº Q7316284 ★
Not listed
-
Interrupt request
Hardware signal sent to a processor to interrupt a running program and handle input
Nº Q1144586 ★
Not listed
-
I
Inversion of control
Software programming technique in which general framework code calls into business-logic subroutines
Nº Q666438 ★★
Not listed
-
L
Language Integrated Query
Feature of several .NET programming languages that provides syntactic sugar for data querying
Nº Q595637 ★★
Not listed
-
I
Intelligent Input Bus
Framework for multilingual input
Nº Q1157035 ★
Not listed