STREAMS Programming Guide

Exit Print View

Updated: July 2014
 
 

System Calls Used

Table 4-1 summarizes the system calls commonly used in controlling and transferring data and messages within a stream.

Table 4-1  System Calls Used
System Call
Description
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
Sends a priority message downstream
Identifies files on which a user can send or receive messages, or on which certain events have occurred (historically, it was unnecessarily restricted to streams)
Creates a bidirectional channel that provides a communication path between multiple processes