JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
STREAMS Programming Guide
search filter icon
search icon

Document Information


Part I Application Programming Interface

1.  Overview of STREAMS

2.  STREAMS Application-Level Components

3.  STREAMS Application-Level Mechanisms

4.  Application Access to the STREAMS Driver and Module Interfaces

5.  STREAMS Administration

6.  Pipes and Queues

Part II Kernel Interface

7.  STREAMS Framework - Kernel Level

8.  STREAMS Kernel-Level Mechanisms

9.  STREAMS Drivers

10.  STREAMS Modules

11.  Configuring STREAMS Drivers and Modules

12.  Multithreaded STREAMS

13.  STREAMS Multiplex Drivers

Part III Advanced Topics

14.  Debugging STREAMS-based Applications

Part IV Appendixes

A.  Message Types

B.  Kernel Utility Interface Summary

C.  STREAMS-Based Terminal Subsystem

Overview of Terminal Subsystem

Master Driver and Slave Driver Characteristics

Line-Discipline Module

Default Settings

Module open and close Routines

Read-Side Processing

Write-Side Processing

EUC Handling in ldterm

Hardware Emulation Module

STREAMS-based Pseudo-Terminal Subsystem

Line-Discipline Module

Pseudo-TTY Emulation Module: ptem

ptem Data Structure

open and close Routines

Remote Mode

Packet Mode

Pseudo-TTY Drivers: ptm and pts




Pseudo-TTY Streams




Appendix C

STREAMS-Based Terminal Subsystem

This chapter describes how a terminal subsystem is set up and how interrupts are handled. Different protocols are addressed, as well as canonical processing and line discipline substitution.