The Linux Programming Interface

(nextflipdebug5) #1

1492 INDEX


shm_unlink(), 1058, 1114
example of use, 1114
prototype, 1114
SHM_UNLOCK constant, 800, 1012
SHM_W constant, 923
SHMALL limit, 1014, 1015
shmat(), 922, 999–1001, 1013, 1014
example of use, 1004, 1005
prototype, 999
RLIMIT_AS resource limit and, 760
shmatt_t data type, 65, 1012, 1014
shmctl(), 922, 1011–1012
example of use, 1004
prototype, 1011
RLIMIT_MEMLOCK resource limit and, 761
shmdt(), 922, 1000–1001, 1013, 1014
example of use, 1004, 1005
prototype, 1001
shmget(), 922, 998–999, 1014
example of use, 1004, 1005
prototype, 998
shmid_ds structure, 922, 1011, 1012–1013
definition, 1012
shminfo structure, 1015
SHMLBA constant, 999, 1001
SHMMAX limit, 1014, 1015
SHMMIN limit, 1014
SHMMNI limit, 1014, 1015
SHMSEG limit, 1014
show_time.c, 199
Shukla, A., 1439
SHUT_RD constant, 1256, 1273
SHUT_RDWR constant, 1256, 1273
SHUT_WR constant, 1256, 1273
example of use, 1258
shutdown(), 426, 1256–1257
example of use, 1258
prototype, 1256
on TCP socket, 1273
SI_ASYNCIO constant, 441
SI_KERNEL constant, 440, 441
SI_MESGQ constant, 441, 1079
SI_QUEUE constant, 441, 460
example of use, 462
SI_SIGIO constant, 440, 441
SI_TIMER constant, 441, 500
SI_TKILL constant, 441
SI_USER constant, 441
example of use, 462
SID (session ID), 39, 613, 700, 705, 819
SIG_ATOMIC_MAX constant, 428
SIG_ATOMIC_MIN constant, 428
sig_atomic_t data type, 65, 428
example of use, 432, 466, 774
SIG_BLOCK constant, 410
example of use, 409, 411

SIG_DFL constant, 398, 412, 416, 578
SIG_ERR constant, 397, 398, 456
example of use, 399, 455
SIG_HOLD constant, 475
SIG_IGN constant, 398, 412, 416, 419, 578
sig_receiver.c, 414, 419
sig_sender.c, 412
SIG_SETMASK constant, 410
example of use, 411, 415
sig_speed_sigsuspend.c, 478
SIG_UNBLOCK constant, 410
SIGABRT signal, 390, 392, 396, 433
sigaction structure, 416–417, 437–438
definition, 416, 437
example of use, 425, 433
sigaction(), 416–417, 426, 604
example of use, 433, 437, 452, 455,
463, 587
prototype, 416
sigaddset(), 407, 426
example of use, 411, 466
prototype, 407
SIGALRM signal, 390, 396, 480, 484, 486, 488
example of use, 483, 487
sigaltstack(), 417, 434–435, 578, 691, 693
example of use, 437
prototype, 434
sigandset(), 408
prototype, 408
sigblock(), 476–477
prototype, 476
SIGBUS signal, 390, 396, 439, 440, 441, 453,
683, 1021, 1030
correct handling of, 452
diagram, 1030
SIGCHLD signal, 390, 391, 396, 440, 441,
514, 545, 551, 555–561, 583, 590,
605, 609, 697, 717, 755, 1431
change of disposition across exec(), 578
contrasted with System V SIGCLD, 561
delivery for resumed children, 559
delivery for stopped children, 559
designing handler for, 556
diagram, 515
disabling generation for stopped child
processes, 417
example of use, 558
handling, 555–559
ignoring, 559–561
SIGCLD signal, 391, 561
SIGCONT signal, 391, 396, 450, 489, 544,
545, 546, 550, 559, 717, 718,
720, 727
diagram, 717
establishing handler for, 478
Free download pdf