Table 2-1 offers an overview of some basic STREAMS-related system calls.
Table 2-1 Summary of Basic STREAMS-related System Calls
manpage |
Description |
---|---|
Opens a Stream |
|
Closes a Stream |
|
Reads data from a Stream |
|
Writes data to a Stream |
|
Controls a Stream |
|
Receives a message at the Stream head |
|
getpmsg(2) |
Receives a priority message at the Stream head |
Sends a message downstream |
|
putpmsg(2) |
Sends a priority message downstream |
Identifies files on which a user can send or receive messages, or on which certain events have occurred (not restricted to STREAMS, although historically was) |
|
Creates a bidirectional channel that provides a communication path between multiple processes |
Sections 1, 2, 3, 7, and 9 of the on line manual pages (man pages) contain all the STREAMS information.