Advanced Programming in the UNIX® Environment

(lily) #1
ptg10805159

Index 977

PPID,seeparent process ID
P_PIDconstant, 244
prprogram, 753
prctlprogram, 559
preadfunction, 78, 451, 461–462, 592
definition of, 78
Presotto, D. L., xxxii, 229, 952
pr_exitfunction, 239–241, 266–268, 281, 283,
372, 896
definition of, 240
primitive system data types, 58
printprogram, 794, 801, 820, 824–825, 834, 843
printdprogram, 794, 843
printer communication, network, 789– 843
printer spooling, 793– 795
source code, 795– 842
printer_statusfunction, 814, 837–838, 843
definition of, 838
printer_threadfunction, 814, 832, 945
definition of, 832
printffunction, 10–11,21, 150, 159, 161–163,
175, 192, 194, 219, 226, 231, 235, 283, 309, 330,
349, 452, 552, 919– 920
definition of, 159
print.hheader,815, 820, 825
printreqstructure, 801, 809–810, 812, 820,
822 – 824, 827
printrespstructure, 801, 809, 811, 824– 827
PRIO_PGRPconstant, 277
PRIO_PROCESSconstant, 277
PRIO_USERconstant, 277
privilege, least, 256, 795, 816
pr_maskfunction, 356–357, 360–361, 896
definition of, 347
/proc, 136, 253
procstructure, 311– 312
process, 11
accounting, 269– 275
control, 11, 227– 283
ID, 11, 228, 252
ID, parent, 228, 233, 237, 243, 246, 252, 287–288,
309, 464
identifiers, 227– 228
relationships, 285– 312
scheduling, 276– 280
system, 228, 337
termination, 198– 202
time, 20, 24, 59, 280– 282
process group, 293– 294
background, 296, 300, 302, 304, 306–307, 309,
321, 369, 377, 944
foreground, 296, 298, 300–303, 306, 311,
318 – 322, 369, 377, 680–682, 685, 689, 710,
719, 741, 944


ID, 233, 252
ID, foreground, 298, 303, 677
ID, session, 304
ID, terminal, 303, 463
leader,2 94 – 296, 306, 312, 465–466, 727
lifetime, 294
orphaned, 307–309, 469, 735
processes, cooperating, 495, 752, 945
process-sharedattribute, 431
.profilefile, 289
program, 10
PROT_EXECconstant, 525
PROT_NONEconstant, 525
protoentstructure, 598
prototypes, function, 845– 893
PROT_READconstant, 525, 529, 577
PROT_WRITEconstant, 525, 529, 577
PR_TEXTconstant, 801, 810, 825, 835– 836
psprogram, 237, 283, 303, 306–307, 463–465,
468 – 469, 480, 736, 923
pselectfunction, 331, 451, 501, 506
definition of, 506
pseudo terminal, 715– 742
packet mode, 740
remote mode, 741
signal generation, 741
window size, 741
psiginfofunction, 379–380, 452
definition of, 379
psignalfunction, 379–380, 452
definition of, 379
ptemSTREAMS module, 716, 726
pthreadstructure, 385
pthread_atforkfunction, 457– 461
definition of, 458
pthread_attr_destroyfunction, 427– 429
definition of, 427
pthread_attr_getdetachstatefunction, 428
definition of, 428
pthread_attr_getguardsizefunction, 430
definition of, 430
pthread_attr_getstackfunction, 429
definition of, 429
pthread_attr_getstacksizefunction,
429 – 430
definition of, 430
pthread_attr_initfunction, 427– 429
definition of, 427
pthread_attr_setdetachstatefunction, 428
definition of, 428
pthread_attr_setguardsizefunction, 430
definition of, 430
pthread_attr_setstackfunction, 429
definition of, 429
Free download pdf