linux streams code example
Example: streams in unix
STREAMS is a general, flexible programming model for UNIX system communication
services. STREAMS defines standard interfaces for character input/output (I/O)
within the kernel, and between the kernel and the rest of the UNIX system. The
mechanism consists of a set of system calls, kernel resources, and kernel
routines.