STREAMS System Calls
Table 2-1 offers an overview of some basic STREAMS-related system calls.
Table 2-1 Summary of Basic STREAMS-related
System Calls
| |
| 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
|
| Receives a priority message at the stream head
|
| Sends a message downstream
|
| 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 it was)
|
| Creates a bidirectional channel that provides a communication path between multiple
processes
|
|
Note - Sections 1, 2, 3, 7, and 9 of the online manual pages (man pages) contain
all the STREAMS information.