STREAMS Programming Guide

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 since the module is nearest the Stream head.

Figure 1-8 Module Reusability

Graphic