STREAMS Programmer's Guide
この本のみを検索
PDF 文書ファイルをダウンロードする

Index

A

acknowledgment message40
adjmsg350
allocb351
assembly programming7
asynchronous input/output
.....in polling116
asynchronous protocol Stream
.....example46 to ??
audience intended1
autopush34

B

back-enable of a queue78
back-enabling78
background job
.....in job control119
backq351
bcanput351
bidirectional transfer
.....example146 to 151
bufcall352, 368

C

canonical processing47
canput352
character I/O9
character processing47
cloning (STREAMS)195
close
.....dismantling the Stream35
connld(7)256
controlling terminal123
copyb353
copymsg353
copyreq structure325
copyresp structure326

D

datamsg354
device
.....close9
.....open9
difference between driver & module38
downstream
.....definition8
driver6
.....classification182
.....ioctl control39
.....overview181 to 184
.....STREAMS184 to ??
.....writing a driver182 to ??
driver STREAMS18
dupb354
dupmsg354

E

ECHOCTL262
enableok355
entry point address31
esballoc355
EUC handling in ldterm(7)265
expedited data55, 156
extended STREAMS buffers105 to ??
.....allocation106
.....freeing106

F

fattach(3C)251
fdetach(3C)252
FIFO (STREAMS)245
.....basic operations246 to 249
.....flush250
.....queue scheduling45
file descriptor9
file descriptor passing253
flow control76 to 81
.....definition11
.....in driver194
.....in line discipline module176
.....in module175 to 176
.....routines,?? to81
flush handling
.....description153 to 155
.....flags153, 342
.....in driver190
.....in line discipline155
.....in pipes and FIFOs250
.....priority band data156
.....read-side example154
.....write-side example154
flushband356
flushq356
foreground job
......in job control119
freeb356
freemsg357
full-duplex processing5

G

getmsg(2)61
getpmsg function63
getq357
grantpt(3C)281
......with pseudo-tty driver277

H

hardware emulation module268 to 270

I

I_SWROPT248
infinite loop
......service procedure46
input/output polling111 to 117
insq358
iocblk structure325
......with M_IOCTL331
ioctl I_SWROPT248
ioctl(2)
......I_POP35
......I_PUSH35
......TIOCREMOTE276
......TIOCSIGNAL280
ioctl(2)
......general processing132 to 133
......handled by ptem(7)273
......hardware emulation module269
......I_ATMARK70
......I_CANPUT70
......I_CKBAND69
......I_GETBAND69
......I_LINK216, 331
......I_LIST151
......I_PLINK331
.....I_PUNLINK331
.....I_RECVFD253, 334
.....I_SENDFD253, 334
.....I_SETSIG events117
.....I_STR40, 331
.....I_STR processing134 to 135
.....I_UNLINK221, 331
.....supported by ldterm(7)264
.....supported by master driver279
.....transparent135 to 151
isastream(3C)253

J

job control119 to 122
.....terminology119 to 120

K

kernel thread45

L

ldterm(7)261
LIFO
.....module add/remove38
line discipline module
.....close262
.....description261 to 268
.....in job control121
.....in pseudo-tty subsystem271
.....ioctl(2)264
.....open262
link editing7
linkb358
linkblk structure327
linked list30
lower multiplexer20

M

M_BREAK329
M_COPYIN340
.....transparent ioctl example139 to 143
M_COPYOUT341
......transparent ioctl example143 to 146
......with M_IOCTL333
M_CTL330
......with line discipline module261
M_DATA14, 330
M_DELAY330
M_ERROR341
M_FLUSH342
......flags342
......in module example173
......packet mode277
M_HANGUP343
M_IOCACK344
......with M_COPYOUT341
......with M_IOCTL332
M_IOCDATA344
M_IOCNAK345
......with M_COPYOUT341
......with M_IOCTL332
M_IOCTL331 to 334
......transparent332
......with M_COPYOUT341
M_PASSFP334
M_PCPROTO14, 346
M_PCRSE346
M_PCSIG346
M_PROTO14, 334 to 335
M_READ346
M_RSE335
M_SETOPTS
......SO_READOPT options64
M_SETOPTS336 to 339
......SO_FLAG336 to 339
......SO_WROFF value65
......with ldterm(7)262
M_SIG339
......in signaling118
M_START347
M_STARTI347
M_STOP347
M_STOPI347
manipulating modules24
master driver
.....in pseudo-tty subsystem270
.....open277
message (STREAMS)13
.....allocation99
.....control information14, 94
.....definition8
.....freeing100
.....handled by pckt(7)276
.....handled by ptem(7)273
.....high priority54, 340 to 347
.....ldterm(7) read side263
.....ldterm(7) write side264
.....linkage57
.....M_DATA14
.....M_PCPROTO14
.....M_PROTO14
.....ordinary54, 329 to 340
.....processing75
.....put back on queue46
.....recovering from allocationfailure102
.....sending/receiving59
.....service interface82 to 94
.....structures56, 324 to 325
.....types13, 53
message block (STREAMS)8
.....linkage57
message processing routines(STREAMS),?? to46
.....design guidelines162 to 164
message queue (STREAMS)
.....priority15, 66 to 70
minor device9
module16 to 18
.....control information6
.....definition6
.....difference with driver38
.....draining36
.....inserting36
.....insertion7
.....ioctl control39
.....manipulation24
.....pushed8
.....reusability26
......status information6
MORECTL94
MOREDATA94
msgdsize359
multiplexer
......building212 to 220
......controlling Stream217
......data routing222
......declarations229
......definition19
......design guidelines243
......driver228 to 238
......example225 to 227
......lower211
......lower connection223 to 224
......lower disconnection224
......lower read put procedure237 to 238
......lower write service procedure236
......upper211
......upper write put procedure232 to ??
......upper write service procedure235
multiplexer ID
......in multiplexer building216
......in multiplexer dismantling221
multiplexing STREAMS18 to 23

N

named pipe (see FIFO)245
named Stream
......description,?? to253
......fattach(3C)251
......fdetach(3C)252
......file descriptor passing253
......isastream(3C)253
......remote254
noenable359
NSTRPUSH35

O

O_NDELAY36
......with M_SETOPTS338
O_NONBLOCK36
......with M_SETOPTS338
open
.....device file33
organization of guide1
other documentation4
OTHERQ359

P

packet mode
.....description276
.....messages276
pckt(7)276
PIPE_BUF249
pipemod STREAMS module250
pipes6
.....STREAMS (see STREAMS-basedpipe)245
point-to-point9
pollfd structure114
polling
.....error events115
.....events112
.....example113 to 116
priority band data55, 156
.....flush handling example156
.....ioctl(2)69
.....routines68
processing
.....canonical47
.....character47
.....read-side49
protcol
.....migration25
protocol
.....portability24
.....substitution25
pseudo-device driver20
pseudo-tty emulation module272 to 276
pseudo-tty subsystem270
.....description270 to 282
.....drivers277 to 280
.....ldterm(7)271
.....messages273
......packet mode276
......remote mode276
ptem structure275
ptem(7)272, 275
ptm (see master driver)270
pts (see slave driver)270
ptsname(3C)281
......with pseudo-tty driver278
pullupmsg359
put procedure13, 44
putbq360
putctl360
putctl1361
putmsg(2)60
putpmsg function62
putq362

Q

qenable363
qreply363
qsize364
queue8, 12
......data structures31
......limits33
......pairs8

R

RD364
read side
......definition8
......ldterm(7) messages263
......ldterm(7) processing263
......put procedure168
read-side processing49
releasing callback requests105
rmvb364
rmvq364

S

SAD (see STREAMS AdministrativeDriver)395
scheduler
.....STREAMS45
service interface23, 83 to 85
.....definition82
.....library example86 to 94
.....rules94
service primitive85
.....in service procedure87
service procedure13, 45, 80
.....infinite loop46
service provider85
.....accessing88
.....closing91
.....receiving data92
.....sending data91
signal(2)111
signals
.....extended118
.....in job control management121
.....in STREAMS118
slave driver
.....in pseudo-tty subsystem270
.....open278
SO_FLAG
.....in M_SETOPTS336 to 339
stdata
.....data structure34
strapush structure395
strbuf structure61
strchg(1)151
strconf command151
STRCTLSZ parameter394
Stream
.....controlling terminal122
.....hung-up122
.....simple5
Stream construction5, 30 to 36
.....add/remove modules35
.....close a Stream35
.....define module/driver33
......example36 to 41
......open a Stream33
......queue structures31
Stream definition5
Stream head
......definition5
......intercepting I_STR40
......processing control64
STREAMS3
......basic operations9 to 12
......configuration381 to 397
......manual pages399
......mechanisms29
......message queues14
......system calls9, 29
......tunable parameters393 to ??
STREAMS Administrative Driver395 to 397
STREAMS benefits23 to 27
STREAMS components12 to 18
STREAMS data structures321 to 327
......design165
......dynamic allocation165
STREAMS debugging376 to 379
......error and trace logging377 to 379
STREAMS definition5
STREAMS driver18, 184 to ??
......cloning195
......close routine design161
......declarations126
......definition6
......design guidelines160 to ??, 209
......environment125
......flow control194
......flush handling190
......ioctl(2)130 to 152
......loop-around198 to ??
......open routine design161
......printer driver example187 to ??
......pseudo-tty277 to 280
......pseudo-tty subsystem master270
......pseudo-tty subsystem slave270
STREAMS message queues14
......priority15 to 16
STREAMS module16 to 18, 167 to 175
.....autopush facility394, 397
.....close routine design161
.....connld(7)256
.....control information6
.....declarations126
.....definition6
.....design guidelines160 to ??, 178
.....environment125
.....filter171
.....flow control175 to ??
.....ioctl(2)130 to 152
.....line discipline261
.....null module example128
.....open routine design161
.....ptem(7)272
.....read side put procedure168
.....routines167 to 171
.....service interface example94 to 99
.....service procedure170
.....status information6
.....write side put procedure169
STREAMS multiplexing18 to 23
STREAMS queue
.....definition8
.....flags72, 73
.....overview12
.....qband structure72
.....queue structure70
.....structures322 to 324
.....using equeue information73
.....using qband information73
STREAMS scheduler45
.....in service procedure45
STREAMS utility routines349 to 367
STREAMS-based pipe6
.....atomic write249
.....basic operations246 to 249
.....creation34
.....creation errors246
.....definition245
.....PIPE_BUF249
STREAMS-based pseudo-terminalsubsystem (see pseudo-ttysubsystem)270
STREAMS-based terminal subsystem (seetty subsystem)259
strioctl structure40, 326
strlog365
STRMSGSZ parameter394
stroptions structure327
strqget365
strqset366
synchronous input/output
......in polling112

T

termio(7)121
......default flag values261
testb366
thread
......service procedure45
transparent ioctl
......M_COPYIN example139 to 143
......M_COPYOUT example143 to 146
......messages138
......processing135 to 151
tty subsystem
......benefits259
......description259 to 270
......hardware emulation module268 to 270
......ldterm(7)261
......setup260

U

unbufcall366, 369
unique connection (STREAMS)254 to 257
unlinkb367
unlockpt(3C)281
......with pseudo-tty driver278
upper multiplexer20
upper Stream19
upstream
......definition8

W

WR367
write side
.....definition8
.....ldterm(7)264
.....put procedure169