INDEX 1493
example of use, 728
sent to foreground process group
when controlling process
terminates, 707, 712–714
sent to orphaned process group
containing stopped processes,
533, 727
sigdelset(), 407, 426
example of use, 463
prototype, 407
sigemptyset(), 407, 426
example of use, 411, 415, 466
prototype, 407
SIGEMT signal, 391, 396, 397, 453
SIGEV_NONE constant, 496, 1079
SIGEV_SIGNAL constant, 496, 497,
499–503, 1079
example of use, 501, 1081
SIGEV_THREAD constant, 496, 497,
504–507, 1079
example of use, 507, 1083
SIGEV_THREAD_ID constant, 496, 497
sigevent structure, 495, 496–497,
1078–1079
definition, 496, 1079
example of use, 501, 506, 1080, 1082
sig fillset(), 407, 426
example of use, 415, 463
prototype, 407
SIGFPE signal, 391, 396, 439, 440, 441,
453, 683
correct handling of, 452
sighandler_t data type, 398
sighold(), 475
prototype, 475
SIGHUP signal, 39, 391, 396, 451, 700, 706,
709–714, 725–729, 772–775
example of use, 711, 713, 728, 774
handling by job-control shells, 710–712
sent on closure of master side of
pseudoterminal, 1388
sent on terminal disconnect, 709
sent to foreground process group
when controlling process
terminates, 533, 707, 712–714
sent to orphaned process group
containing stopped processes,
533, 727
sent when master side of
pseudoterminal is closed, 709
stopped shell background jobs and, 710
used to reinitialize daemon, 772–775
sigignore(), 475–476
prototype, 475
SIGILL signal, 391, 396, 439, 440, 441,
453, 683
correct handling of, 452
SIGINFO signal, 391, 1299
siginfo_t structure, 65, 437, 438–442, 460,
468, 471, 472, 499–500, 550,
551–552, 1079, 1353–1354
definition, 438
example of use, 462, 470, 500, 552
SIGINT signal, 392, 396, 451, 583, 700, 720,
725, 1296, 1297, 1302, 1304
example of use, 399, 401
siginterrupt(), 16, 419, 444–445
prototype, 445
siginterrupt.c, 1429
SIGIO signal, 392, 396, 397, 440, 441, 1347
SIGIOT signal, 392
sigisemptyset(), 408
prototype, 408
sigismember(), 407, 426
example of use, 409
prototype, 407
SIGKILL signal, 392, 393, 396, 411, 450,
761, 764, 772, 1040
disposition can’t be changed, 450
siglong jmp(), 151, 429–430, 452
example of use, 432
prototype, 430
SIGLOST signal, 392
sigmask(), 476–477
prototype, 476
sigmask_longjmp.c, 432
signal, 37, 387–478
accepting, 468
asynchronous generation, 453
blocked, 38, 388, 389
blocking, 410–411
broadcast, 402
BSD API, 476–477
caught, 389
default action, 389, 390–397
delivery, 388
diagram, 399, 454
order when multiple signals
pending, 454
disposition, 389, 613
changing, 397–398, 416–417
of pending signal, 412
default, 389
generation, 388
handler. See signal handler
hardware-generated, 452
ignored, 389, 398
job-control, 717
LinuxThreads nonconformances, 690