Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

STREAMS Programming Guide
Copyright
Expand TOC  Preface

Part I Application Programming Interface
Expand TOC  1.  Overview of STREAMS
Expand TOC  2.  STREAMS Application-Level Components
Expand TOC  3.  STREAMS Application-Level Mechanisms
Expand TOC  4.  Application Access to the STREAMS Driver and Module Interfaces
Expand TOC  5.  STREAMS Administration
Expand TOC  6.  Pipes and Queues

Part II Kernel Interface
Expand TOC  7.  STREAMS Framework - Kernel Level
Collapse TOC  8.  STREAMS Kernel-Level Mechanisms
ioctl Processing
Message Allocation and Freeing
Recovering From No Buffers
Read Device Interrupt Handler
Write Service Procedure
Releasing Callback Requests
Extended STREAMS Buffers
esballoc(9F) Example
General ioctl Processing
STREAMS ioctl Issues
I_STR ioctl Processing
Transparent ioctl
Transparent ioctl Messages
Transparent ioctl Examples
M_FLUSH Message Handling
Flushing According to Priority Bands
Driver and Module Service Interfaces
Service Interface Library Example
Message Type Change Rules
Common ioctl Interfaces
FIORDCHK
FIONREAD
I_NREAD
signal Message
Expand TOC  9.  STREAMS Drivers
Expand TOC  10.  STREAMS Modules
Expand TOC  11.  Configuring STREAMS Drivers and Modules
Expand TOC  12.  Multithreaded STREAMS
Expand TOC  13.  STREAMS Multiplex Drivers

Part III Advanced Topics
Expand TOC  14.  Debugging STREAMS-based Applications

Part IV Appendixes
Expand TOC  A.   Message Types
Expand TOC  B.   Kernel Utility Interface Summary
Expand TOC  C.   STREAMS-Based Terminal Subsystem
Expand TOC  D.   STREAMS FAQ
Expand TOC  Glossary
Expand TOC  Index