STREAMS Programming Guide

Exit Print View

Updated: July 2014
 
 

Module Reusability

Figure 1–8 shows the same canonical module (for example, one that provides delete and kill processing on character strings) reused in two different streams. This module would typically be implemented as a filter, with no service interface. In both cases, a TTY interface is presented to the stream's user process because the module is nearest the stream head.

Figure 1-8  Module Reusability

image:Diagram shows reuse of the same canonical module in two different streams.