encyclopegia.org

STREAMS

In computer networking, STREAMS is the native framework in Unix System V for implementing character device drivers, network protocols, and inter-process communication. In this framework, a stream is a chain of coroutines that pass messages between a program and a device driver (or between a pair of programs). STREAMS originated in Version 8 Research Unix, as Streams (not capitalized). STREAMS's design is a modular architecture for implementing full-duplex I/O between kernel and device drivers. Its most frequent uses have been in developing terminal I/O (line discipline) and networking subsystems. In System V Release 4, the entire terminal interface was reimplemented using STREAMS. An important concept in STREAMS is the ability to push drivers custom code modules which can modify the functionality of a network interface or other device together to form a stack. Several of these drivers can be chained together in order.

In computer networking, STREAMS is the native framework in Unix System V for implementing character device drivers, network protocols, and inter-process communication. In this framework, a stream is a chain of coroutines that pass messages between a program and a device driver (or between a pair of programs). STREAMS originated in Version 8 Research Unix, as Streams (not capitalized). STREAMS's design is a modular architecture for implementing full-duplex I/O between kernel and device drivers. Its most frequent uses have been in developing terminal I/O (line discipline) and networking subsystems. In System V Release 4, the entire terminal interface was reimplemented using STREAMS. An important concept in STREAMS is the ability to push drivers custom code modules which can modify the functionality of a network interface or other device together to form a stack. Several of these drivers can be chained together in order. ioctl(fd, PUSH, TTYLD); To perform input/output on a stream, one either uses the read and write system calls as with regular file descriptors, or a set of STREAMS-specific functions to send control messages. Ritchie admitted to regretting having to implement Streams in the kernel, rather than as processes, but felt compelled to do so for reasons of efficiency. A later Plan 9 implementation did implement modules as user-level processes.

References

No reference rows published for this article.

Cite this article

MLA

"STREAMS." encyclopegia.org, 2026, https://encyclopegia.org/wiki/streams. Accessed 24 November 2026.

Chicago

"STREAMS." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/streams.

APA

encyclopegia.org. (2026). STREAMS. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/streams

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

Related articles

Cathal Goulding

enwiki · references available

Hialeah-Miami Lakes Senior High School

enwiki · references available

Per Ciljan Skjelbred

enwiki · references available

Akan name

enwiki · references available

Macedonia (Greece)

enwiki · references available

John 5 (guitarist)

enwiki · references available

Computer network diagram

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

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.