Skip to Content
Sun and Oracle
Channel Sun
How to Buy
Log In
Italiano
Pagina iniziale
>
Solaris 8 Software Developer Collection
> STREAMS Programming Guide
STREAMS Programming Guide
Cerca solo questo libro
Aiuto alla Ricerca
Contained Within
Solaris 8 Software Developer Collection
Find More Documentation
Titolo
Prodotto
Featured Support Resources
Corsi di formazione Sun
Portale BigAdmin System Admin
Centro di assistenza Sun
Sun Solve
Scarica il manuale in formato PDF (734 KB)
STREAMS Programming Guide
Book Information
Preface
Who Should Use This Book
How This Book Is Organized
Related Books
Ordering Sun Documents
Accessing Sun Documentation Online
What Typographic Conventions Mean
Shell Prompts in Command Examples
Part I Application Programming Interface
1. Overview of STREAMS
What Is STREAMS?
STREAMS Definitions
When to Use STREAMS
How STREAMS Works--Application Interface
How STREAMS Works--Kernel-level
STREAMS in Operation
2. STREAMS Application-Level Components
STREAMS Interfaces
Opening a STREAMS Device File
Queueing
Adding and Removing Modules
Closing the Stream
Stream Construction Example
3. STREAMS Application-Level Mechanisms
Message Handling
Message Queueing and Priorities
Input and Output Polling
Stream as a Controlling Terminal
4. STREAMS Driver and Module Interfaces
System Calls Used
Module and Driver ioctl(2)
Flush Handling
5. STREAMS Administration
Tools Available
Autopush Facility
Administration Tool Description
6. Pipes and Queues
Overview of Pipes and FIFOs
Creating and Opening Pipes and FIFOs
Part II Kernel Interfaces
7. STREAMS Framework -Kernel Level
Overview of Streams in Kernel Space
Stream Head
Kernel-Level Messages
Queues
Entry Points
Flow Control in Service Procedures
8. Messages - Kernel Level
ioctl(2) Processing
Message Allocation and Freeing
Extended STREAMS Buffers
General ioctl(2) Processing
Flush Handling
Driver and Module Service Interfaces
Well-known ioctl Interfaces
Signals
9. STREAMS Drivers
STREAMS Device Drivers
STREAMS Driver Topics
STREAMS Driver Code Samples
Summary
Answers to Frequently Asked Questions
10. Modules
Module Overview
Flow Control
Design Guidelines
Answers to Frequently Asked Questions
11. Configuration
Configuring STREAMS Drivers and Modules
Entry Points
Tunable Parameters
autopush(1M) Facility
12. MultiThreaded STREAMS
MultiThreaded (MT) STREAMS Overview
MT STREAMS Framework
MT Configurations
Preparing to Port
MT SAFE Modules
MT SAFE Modules Using Explicit Locks
Sample Multithreaded Device Driver
Sample Multithreaded Module with Outer Perimeter
13. Multiplexing
Overview of Multiplexing
Connecting And Disconnecting Lower Streams
Multiplexer Construction Example
Multiplexing Driver
Persistent Links
Design Guidelines
Part III Advanced Topics
14. STREAMS-Based Terminal Subsystem
Overview of Terminal Subsystem
STREAMS-based Pseudo-Terminal Subsystem
15. Debugging
Overview of Debugging Facilities
Kernel Debug Printing
STREAMS Error Logging
Kernel Examination Tools
A. Message Types
Introduction
Ordinary Messages
High-Priority Messages
B. STREAMS Utilities
Kernel Utility Interface Summary
C. STREAMS F.A.Q.
Glossary
Index
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
W
News Center
About Sun
Contact Sun
Terms of Use
Privacy
Copyright
1994-2009
Sun Microsystems, Inc.