INDEX 1483
changing capabilities of all
processes in, 815
changing membership of, 702
creating, 702
diagram, 701
foreground. See foreground process
group
leader, 39, 699, 702, 705
lifetime, 699
orphaned. See orphaned process group
sending signal to, 402, 405
setting as owner of a file descriptor,
1347, 1350–1351
waiting on member of, 544, 550
process group ID, 39, 613, 699, 705
process ID, 32, 114, 604, 608, 613, 705
process scheduling, 22. See also realtime
scheduling
process time, 40, 185, 206–209, 614
resource limit on, 761
process_time.c, 208
procfs_pidmax.c, 228
procfs_user_exe.c, 1428
prod_condvar.c, 645
prod_no_condvar.c, 642
program, 30, 113
executing, 32, 563–571
program break, 116, 139–140
adjusting, 139–140
program counter, 133
program termination routine (exit
handler), 532, 533–537, 615
program_invocation_name variable, 124
program_invocation_short_name
variable, 124
PROT_EXEC constant, 1020, 1021, 1030
PROT_NONE constant, 1020, 1021
PROT_READ constant, 1020, 1021, 1030
example of use, 1023, 1029
PROT_WRITE constant, 1020, 1021, 1030
example of use, 1029
protocol stack (TCP/IP), 1181
Provos, N., 1328
pselect(), 426, 673, 1369
example of use, 1370
interrupted by signal handler, 444
prototype, 1369
psem_create.c, 1092
psem_getvalue.c, 1098
psem_post.c, 1097
psem_timedwait.c, 1434
psem_unlink.c, 1094
psem_wait.c, 1095
pset_bind(), 748
pseudoheader (TCP), 1267
pseudoterminal, 39, 1375–1399
BSD, 1379, 1395–1397
device pair, 1376
diagram, 1377, 1378
I/O, 1388–1389
master, 1376
opening, 1380–1381, 1383–1384
master clone device, 1381
packet mode, 1342, 1389
poll() on, 1342
select() on, 1342
slave, 1376
changing ownership and
permissions of, 1381, 1396
obtaining name of, 1382
opening, 1383
unlocking, 1382
terminal attributes, 1394
UNIX 98, 1379, 1380
window size, 1394
PSH control bit (TCP), 1267
pshm_create.c, 1110
pshm_read.c, 1113
pshm_unlink.c, 1114
pshm_write.c, 1112
psiginfo(), 440
psignal(), 15, 406
prototype, 406
pstree command, 115
pt_chown program, 784, 1381, 1396
pthread_atfork(), 687
pthread_attr_destroy(), 628
pthread_attr_init(), 628
pthread_attr_setdetachstate(), 628
pthread_attr_setstack(), 681
pthread_attr_t data type, 497, 620, 622,
623, 628, 1079
pthread_cancel(), 671–672, 680
example of use, 675, 679
prototype, 671
PTHREAD_CANCEL_ASYNCHRONOUS constant,
672, 680
PTHREAD_CANCEL_DEFERRED constant, 672
PTHREAD_CANCEL_DISABLE constant, 672
PTHREAD_CANCEL_ENABLE constant, 672
PTHREAD_CANCELED constant, 622, 674
example of use, 675, 679
pthread_cleanup_pop(), 676–677
example of use, 678
prototype, 676
pthread_cleanup_push(), 676–677
example of use, 678
prototype, 676
pthread_cond_broadcast(), 643–644
prototype, 644