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

Document Information

Preface

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

D.  STREAMS FAQ

Glossary

Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

W

I

I_ANCHOR
Adding and Removing Modules
Other ioctl Commands
STREAMS Anchors
Using Anchors
I_LIST ioctl, example, I_LIST ioctl(2)Example
I_SETSIG event
S_BANDURG, Asynchronous Input and Output
S_ERROR, Asynchronous Input and Output
S_HANGUP, Asynchronous Input and Output
S_HIPRI, Asynchronous Input and Output
S_INPUT, Asynchronous Input and Output
S_MSG, Asynchronous Input and Output
S_OUTPUT, Asynchronous Input and Output
S_RDBAND, Asynchronous Input and Output
S_RDNORM, Asynchronous Input and Output
S_WRBAND, Asynchronous Input and Output
S_WRNORM, Asynchronous Input and Output
infinite loop, service procedure, Message Queues and Message Priority
initialization entry point, STREAMS driver, STREAMS Initialization Entry Points
initialization entry points, example, Printer Driver Example
initialization routines for the loop-around driver, example, Loop-Around Driver
input/output polling
Input and Output Polling
Asynchronous Input and Output
insq, insq, Kernel Utility Interface Summary
inter_rcv, example, Receiving Data
inter_snd, send data to service provider, example, Sending Data to the Service Provider
interrupt handler, STREAMS driver, STREAMS Interrupt Handlers
iocblk structure, STREAMS ioctl Issues
example, General ioctl Processing
with M_IOCTL, M_IOCTL
ioctl, I_STR ioctl Processing
command summary, Other ioctl Commands
EUC_WSET, EUC Handling in ldterm
general processing
General ioctl Processing
General ioctl Processing
handled by ptem, Pseudo-TTY Emulation Module: ptem
hardware emulation module, Hardware Emulation Module
I_ANCHOR
Adding and Removing Modules
Other ioctl Commands
STREAMS Anchors
Using Anchors
I_ATMARK
Controlling Data Flow and Priorities
Other ioctl Commands
I_CANPUT
Controlling Data Flow and Priorities
Other ioctl Commands
I_CKBAND
Controlling Data Flow and Priorities
Other ioctl Commands
I_FDINSERT, Other ioctl Commands
I_FIND, Other ioctl Commands
I_FLUSH
Other ioctl Commands
Flush Handling
I_FLUSHBAND
Controlling Data Flow and Priorities
Other ioctl Commands
Flush Handling
I_GETBAND
Controlling Data Flow and Priorities
Other ioctl Commands
I_GETCLTIME, Other ioctl Commands
I_GRDOPT, Other ioctl Commands
I_GWROPT
Other ioctl Commands
Writing to a Pipe or FIFO
I_LINK
Other ioctl Commands
Building a Multiplexer
Upper Write put Procedure Sample
M_IOCTL
I_LIST, I_LIST ioctl
I_LOOK, Other ioctl Commands
I_NREAD, Other ioctl Commands
I_PEEK, Other ioctl Commands
I_PLINK
Other ioctl Commands
Upper Write put Procedure Sample
Persistent Links
M_IOCTL
I_POP
Message Processing
Adding and Removing Modules
Module Overview
I_PUNLINK
Other ioctl Commands
Upper Write put Procedure Sample
Persistent Links
M_IOCTL
I_PUSH
Message Processing
Adding and Removing Modules
Module Overview
I_RECVFD
Other ioctl Commands
Named Streams
I_SENDFD
Other ioctl Commands
Named Streams
M_PASSFP
I_SETCLTIME, Other ioctl Commands
I_SETSIG, Input and Output Polling
I_SETSIG events, Asynchronous Input and Output
I_SRDOPT
Read Options
Other ioctl Commands
I_STR, M_IOCTL
I_STR processing, I_STR ioctl Processing
I_SWROPT
Other ioctl Commands
Writing to a Pipe or FIFO
I_UNLINK
Other ioctl Commands
Dismantling a Multiplexer
Upper Write put Procedure Sample
M_IOCTL
ISPTM, Pseudo-TTY Drivers: ptm and pts
_RECVFD, M_PASSFP
SAD_GAP, Application Interface
SAD_SAP, Application Interface
SAP_ALL, Application Interface
SAP_CLEAR, Application Interface
SAP_ONE, Application Interface
SAP_RANGE, Application Interface
SIOCSPGRP, M_SIG
supported by ldterm, Write-Side Processing
supported by master driver, Pseudo-TTY Drivers: ptm and pts
TIOCREMOTE, Remote Mode
TIOCSIGNAL, Pseudo-TTY Drivers: ptm and pts
TIOCSPGRP, M_SIG
transparent
Transparent ioctl
Transparent ioctl Examples
Bidirectional Data Transfer Example
transparent processing, Transparent ioctl Processing
UNLKPT, Pseudo-TTY Drivers: ptm and pts
user context, STREAMS ioctl Issues
isastream, Named Streams