encyclopegia.org

Ioctl

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.

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. ==References==

References

No reference rows published for this article.

Cite this article

MLA

"Ioctl." encyclopegia.org, 2026, https://encyclopegia.org/wiki/ioctl. Accessed 24 November 2026.

Chicago

"Ioctl." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/ioctl.

APA

encyclopegia.org. (2026). Ioctl. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/ioctl

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

California State Route 198

enwiki · references available

Ken Macha

enwiki · references available

Saxe-Weimar

enwiki · references available

Nockebybanan

enwiki · references available

Matthew 5:39

enwiki · references available

The Ophiuchi Hotline

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1376359698 · 0.5 · snapshot enwiki-001376359698

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.