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

P

packet mode, Glossary
description, Packet Mode
messages, Packet Mode
panic, Shared Data
pckt
Packet Mode
Packet Mode
perimeter
asynchronous access, MT STREAMS Perimeters
asynchronous callback functions, Asynchronous Callback Functions
choosing a type, Choosing a Perimeter Type
defining a type, Defining Perimeter Types
description, MT STREAMS Perimeters
exclusive/shared access flags, Choosing a Perimeter Type
flags, Choosing a Perimeter Type
fully-hot, Hot Perimeters
inner, Inner Perimeters
inner perimeter flags, Choosing a Perimeter Type
outer, Outer Perimeters
outer perimeter flags, Choosing a Perimeter Type
PERMOD, PERMOD Perimeter
routines, Routines Used Inside a Perimeter
synchronous access, MT STREAMS Perimeters
persistent link
Persistent Links
Glossary
create, Persistent Links
dismantle, Persistent Links
PIPE_BUF, Writing to a Pipe or FIFO
pipe or FIFO
read from, Reading From a Pipe or FIFO
write to, Writing to a Pipe or FIFO
pipemod, module, Flushing Pipes and FIFOs
pipemod STREAMS module, Flushing Pipes and FIFOs
pipes, STREAMS (see STREAMS-based pipe), Overview of Pipes and FIFOs
poll, Synchronous Input and Output
poll event
POLLIN, Synchronous Input and Output
POLLOUT, Synchronous Input and Output
POLLRDBAND, Synchronous Input and Output
POLLRDNORM, Synchronous Input and Output
POLLWRBAND, Synchronous Input and Output
POLLWRNORM, Synchronous Input and Output
pollfd structure, Synchronous Input and Output
polling
asynchronous input/output, Asynchronous Input and Output
error events, Synchronous Input and Output
event, Synchronous Input and Output
example
Synchronous Input and Output
Synchronous Input and Output
porting from SunOS 4 to SunOS 5, considerations, Porting to the SunOS 5 System
priority band data
ioctl, Controlling Data Flow and Priorities
routines, Using qband Information
priority band data flush handling, example, Flushing Priority Band
private data, Message Processing
private locks across calls, module, Asynchronous Callback Functions
process incoming data, example, Synchronous Input and Output
process write message blocks, example, Message Allocation and Freeing
processing an ioctl, example, Module and Driver Control
processing an ioctl message, example, I_STR ioctl Processing
processing input, example, Module and Driver Control
protocol
migration, Protocol Migration
portability, Protocol Portability
substitution, Protocol Substitution
protocol daemon, example, Building a Multiplexer
protocol messages, read, Read Options
pseudo-device, driver, Glossary
pseudo-terminal, subsystem, Glossary
pseudo-terminal subsystem, remote mode, Glossary
pseudo-tty emulation module
Pseudo-TTY Emulation Module: ptem
open and close Routines
pseudo-tty subsystem, STREAMS-based Pseudo-Terminal Subsystem
description
STREAMS-based Pseudo-Terminal Subsystem
ptsname
drivers
Master Driver and Slave Driver Characteristics
Pseudo-TTY Drivers: ptm and pts
ldterm, Line-Discipline Module
messages, Pseudo-TTY Emulation Module: ptem
packet mode, Packet Mode
remote mode, Remote Mode
ptem
Pseudo-TTY Emulation Module: ptem
open and close Routines
ptem structure, example, ptem Data Structure
ptm (see master driver), STREAMS-based Pseudo-Terminal Subsystem
pts, example, pts Example
pts (see slave driver), STREAMS-based Pseudo-Terminal Subsystem
ptsname
ptsname
ptsname
with pseudo-tty driver, Pseudo-TTY Drivers: ptm and pts
pullupmsg, Kernel Utility Interface Summary
push/pop modules on/off the stream, I_LIST ioctl
pushing a module, example, Inserting Modules
pushing modules on a STREAMS-based FIFO, Creating and Opening Pipes and FIFOs
pushing modules on a STREAMS-based pipe, Creating and Opening Pipes and FIFOs
put procedure
Structure of a Message Queue
put Procedure
Queue service Procedure
putbq, Kernel Utility Interface Summary
putctl, Kernel Utility Interface Summary
putctl1, Kernel Utility Interface Summary
putnext
Flushing Pipes and FIFOs
Kernel Utility Interface Summary
putq, Kernel Utility Interface Summary