OSDN Git Service

b7251ccb7abd551459ed868f2ea4891da31a0dc9
[linuxjm/LDP_man-pages.git] / original / man2 / sigaction.2
1 '\" t
2 .\" Copyright (c) 1994,1995 Mike Battersby <mib@deakin.edu.au>
3 .\" and Copyright 2004, 2005 Michael Kerrisk <mtk.manpages@gmail.com>
4 .\" based on work by faith@cs.unc.edu
5 .\"
6 .\" Permission is granted to make and distribute verbatim copies of this
7 .\" manual provided the copyright notice and this permission notice are
8 .\" preserved on all copies.
9 .\"
10 .\" Permission is granted to copy and distribute modified versions of this
11 .\" manual under the conditions for verbatim copying, provided that the
12 .\" entire resulting derived work is distributed under the terms of a
13 .\" permission notice identical to this one.
14 .\"
15 .\" Since the Linux kernel and libraries are constantly changing, this
16 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
17 .\" responsibility for errors or omissions, or for damages resulting from
18 .\" the use of the information contained herein.  The author(s) may not
19 .\" have taken the same level of care in the production of this manual,
20 .\" which is licensed free of charge, as they might when working
21 .\" professionally.
22 .\"
23 .\" Formatted or processed versions of this manual, if unaccompanied by
24 .\" the source, must acknowledge the copyright and authors of this work.
25 .\"
26 .\" Modified, aeb, 960424
27 .\" Modified Fri Jan 31 17:31:20 1997 by Eric S. Raymond <esr@thyrsus.com>
28 .\" Modified Thu Nov 26 02:12:45 1998 by aeb - add SIGCHLD stuff.
29 .\" Modified Sat May  8 17:40:19 1999 by Matthew Wilcox
30 .\"     add POSIX.1b signals
31 .\" Modified Sat Dec 29 01:44:52 2001 by Evan Jones <ejones@uwaterloo.ca>
32 .\"     SA_ONSTACK
33 .\" Modified 2004-11-11 by Michael Kerrisk <mtk.manpages@gmail.com>
34 .\"     Added mention of SIGCONT under SA_NOCLDSTOP
35 .\"     Added SA_NOCLDWAIT
36 .\" Modified 2004-11-17 by Michael Kerrisk <mtk.manpages@gmail.com>
37 .\"     Updated discussion for POSIX.1-2001 and SIGCHLD and sa_flags.
38 .\"     Formatting fixes
39 .\" 2004-12-09, mtk, added SI_TKILL + other minor changes
40 .\" 2005-09-15, mtk, split sigpending(), sigprocmask(), sigsuspend()
41 .\"     out of this page into separate pages.
42 .\" 2010-06-11 Andi Kleen, add hwpoison signal extensions
43 .\" 2010-06-11 mtk, improvements to discussion of various siginfo_t fields.
44 .\"
45 .TH SIGACTION 2 2010-06-16 "Linux" "Linux Programmer's Manual"
46 .SH NAME
47 sigaction \- examine and change a signal action
48 .SH SYNOPSIS
49 .nf
50 .B #include <signal.h>
51 .sp
52 .BI "int sigaction(int " signum ", const struct sigaction *" act ,
53 .BI "              struct sigaction *" oldact );
54 .fi
55 .sp
56 .in -4n
57 Feature Test Macro Requirements for glibc (see
58 .BR feature_test_macros (7)):
59 .in
60 .sp
61 .ad l
62 .BR sigaction ():
63 _POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_SOURCE
64 .ad b
65 .SH DESCRIPTION
66 The
67 .BR sigaction ()
68 system call is used to change the action taken by a process on
69 receipt of a specific signal.
70 (See
71 .BR signal (7)
72 for an overview of signals.)
73 .PP
74 .I signum
75 specifies the signal and can be any valid signal except
76 .B SIGKILL
77 and
78 .BR SIGSTOP .
79 .PP
80 If
81 .I act
82 is non-NULL, the new action for signal
83 .I signum
84 is installed from
85 .IR act .
86 If
87 .I oldact
88 is non-NULL, the previous action is saved in
89 .IR oldact .
90 .PP
91 The
92 .I sigaction
93 structure is defined as something like:
94 .sp
95 .in +4n
96 .nf
97 struct sigaction {
98     void     (*sa_handler)(int);
99     void     (*sa_sigaction)(int, siginfo_t *, void *);
100     sigset_t   sa_mask;
101     int        sa_flags;
102     void     (*sa_restorer)(void);
103 };
104 .fi
105 .in
106 .PP
107 On some architectures a union is involved: do not assign to both
108 .I sa_handler
109 and
110 .IR sa_sigaction .
111 .PP
112 The
113 .I sa_restorer
114 element is obsolete and should not be used.
115 POSIX does not specify a
116 .I sa_restorer
117 element.
118 .PP
119 .I sa_handler
120 specifies the action to be associated with
121 .I signum
122 and may be
123 .B SIG_DFL
124 for the default action,
125 .B SIG_IGN
126 to ignore this signal, or a pointer to a signal handling function.
127 This function receives the signal number as its only argument.
128 .PP
129 If
130 .B SA_SIGINFO
131 is specified in
132 .IR sa_flags ,
133 then
134 .I sa_sigaction
135 (instead of
136 .IR sa_handler )
137 specifies the signal-handling function for
138 .IR signum .
139 This function receives the signal number as its first argument, a
140 pointer to a
141 .I siginfo_t
142 as its second argument and a pointer to a
143 .I ucontext_t
144 (cast to \fIvoid\ *\fP) as its third argument.
145 .PP
146 .I sa_mask
147 specifies a mask of signals which should be blocked
148 (i.e., added to the signal mask of the thread in which
149 the signal handler is invoked)
150 during execution of the signal handler.
151 In addition, the signal which triggered the handler
152 will be blocked, unless the
153 .B SA_NODEFER
154 flag is used.
155 .PP
156 .I sa_flags
157 specifies a set of flags which modify the behavior of the signal.
158 It is formed by the bitwise OR of zero or more of the following:
159 .RS 4
160 .TP
161 .B SA_NOCLDSTOP
162 If
163 .I signum
164 is
165 .BR SIGCHLD ,
166 do not receive notification when child processes stop (i.e., when they
167 receive one of
168 .BR SIGSTOP ", " SIGTSTP ", " SIGTTIN
169 or
170 .BR SIGTTOU )
171 or resume (i.e., they receive
172 .BR SIGCONT )
173 (see
174 .BR wait (2)).
175 This flag is only meaningful when establishing a handler for
176 .BR SIGCHLD .
177 .TP
178 .BR SA_NOCLDWAIT " (since Linux 2.6)"
179 .\" To be precise: Linux 2.5.60 -- MTK
180 If
181 .I signum
182 is
183 .BR SIGCHLD ,
184 do not transform children into zombies when they terminate.
185 See also
186 .BR waitpid (2).
187 This flag is only meaningful when establishing a handler for
188 .BR SIGCHLD ,
189 or when setting that signal's disposition to
190 .BR SIG_DFL .
191
192 If the
193 .B SA_NOCLDWAIT
194 flag is set when establishing a handler for
195 .BR SIGCHLD ,
196 POSIX.1 leaves it unspecified whether a
197 .B SIGCHLD
198 signal is generated when a child process terminates.
199 On Linux, a
200 .B SIGCHLD
201 signal is generated in this case;
202 on some other implementations, it is not.
203 .TP
204 .B SA_NODEFER
205 Do not prevent the signal from being received from within its own signal
206 handler.
207 This flag is only meaningful when establishing a signal handler.
208 .B SA_NOMASK
209 is an obsolete, nonstandard synonym for this flag.
210 .TP
211 .B SA_ONSTACK
212 Call the signal handler on an alternate signal stack provided by
213 .BR sigaltstack (2).
214 If an alternate stack is not available, the default stack will be used.
215 This flag is only meaningful when establishing a signal handler.
216 .TP
217 .BR SA_RESETHAND
218 Restore the signal action to the default state once the signal handler
219 has been called.
220 This flag is only meaningful when establishing a signal handler.
221 .B SA_ONESHOT
222 is an obsolete, nonstandard synonym for this flag.
223 .TP
224 .B SA_RESTART
225 Provide behavior compatible with BSD signal semantics by making certain
226 system calls restartable across signals.
227 This flag is only meaningful when establishing a signal handler.
228 See
229 .BR signal (7)
230 for a discussion of system call restarting.
231 .TP
232 .BR SA_SIGINFO " (since Linux 2.2)"
233 The signal handler takes 3 arguments, not one.
234 In this case,
235 .I sa_sigaction
236 should be set instead of
237 .IR sa_handler .
238 This flag is only meaningful when establishing a signal handler.
239 .\" (The
240 .\" .I sa_sigaction
241 .\" field was added in Linux 2.1.86.)
242 .RE
243 .PP
244 The
245 .I siginfo_t
246 argument to
247 .I sa_sigaction
248 is a struct with the following elements:
249 .sp
250 .in +4n
251 .nf
252 siginfo_t {
253     int      si_signo;    /* Signal number */
254     int      si_errno;    /* An errno value */
255     int      si_code;     /* Signal code */
256     int      si_trapno;   /* Trap number that caused
257                              hardware-generated signal
258                              (unused on most architectures) */
259 .\" FIXME
260 .\" si_trapno seems to be only used on SPARC and Alpha;
261 .\" this page could use a little more detail on its purpose there.
262     pid_t    si_pid;      /* Sending process ID */
263     uid_t    si_uid;      /* Real user ID of sending process */
264     int      si_status;   /* Exit value or signal */
265     clock_t  si_utime;    /* User time consumed */
266     clock_t  si_stime;    /* System time consumed */
267     sigval_t si_value;    /* Signal value */
268     int      si_int;      /* POSIX.1b signal */
269     void    *si_ptr;      /* POSIX.1b signal */
270     int      si_overrun;  /* Timer overrun count; POSIX.1b timers */
271     int      si_timerid;  /* Timer ID; POSIX.1b timers */
272 .\" In the kernel: si_tid
273     void    *si_addr;     /* Memory location which caused fault */
274     long     si_band;     /* Band event (was \fIint\fP in
275                              glibc 2.3.2 and earlier) */
276     int      si_fd;       /* File descriptor */
277     short    si_addr_lsb; /* Least significant bit of address
278                              (since kernel 2.6.32) */
279 }
280 .fi
281 .in
282
283 .IR si_signo ", " si_errno " and " si_code
284 are defined for all signals.
285 .RI ( si_errno
286 is generally unused on Linux.)
287 The rest of the struct may be a union, so that one should only
288 read the fields that are meaningful for the given signal:
289 .IP * 2
290 Signals sent with
291 .BR kill (2)
292 and
293 .BR sigqueue (2)
294 fill in
295 .IR si_pid " and " si_uid .
296 In addition, signals sent with
297 .BR sigqueue (2)
298 fill in
299 .IR si_int " and " si_ptr
300 with the values specified by the sender the signal;
301 see
302 .BR sigqueue (2)
303 for more details.
304 .IP *
305 Signals sent by POSIX.1b timers (since Linux 2.6) fill in
306 .I si_overrun
307 and
308 .IR si_timerid .
309 The
310 .I si_timerid
311 field is an internal ID used by the kernel to identify
312 the timer; it is not the same as the timer ID returned by
313 .BR timer_create (2).
314 The
315 .I si_overrun
316 field is the timer overrun count;
317 this is the same information as is obtained by a call to
318 .BR timer_getoverrun (2).
319 These fields are nonstandard Linux extensions.
320 .IP *
321 Signals sent for message queue notification (see the description of
322 .B SIGEV_SIGNAL
323 in
324 .BR mq_notify (3))
325 fill in
326 .IR si_int / si_ptr ,
327 with the
328 .I sigev_value
329 supplied to
330 .BR mq_notify (3);
331 .IR si_pid ,
332 with the process ID of the message sender; and
333 .IR si_uid ,
334 with the real user ID of the message sender.
335 .IP *
336 .B SIGCHLD
337 fills in
338 .IR si_pid ", " si_uid ", " si_status ", " si_utime " and " si_stime ,
339 providing information about the child.
340 The
341 .I si_pid
342 field is the process ID of the child;
343 .I si_uid
344 is the child's real user ID.
345 The
346 .I si_status
347 field contains the exit status of the child (if
348 .I si_code
349 is
350 .BR CLD_EXITED ),
351 or the signal number that caused the process to change state.
352 The
353 .I si_utime
354 and
355 .I si_stime
356 contain the user and system CPU time used by the child process;
357 these fields do not include the times used by waited-for children (unlike
358 .BR getrusage (2)
359 and
360 .BR time (2)).
361 In kernels up to 2.6, and since 2.6.27, these fields report
362 CPU time in units of
363 .IR sysconf(_SC_CLK_TCK) .
364 In 2.6 kernels before 2.6.27,
365 a bug meant that these fields reported time in units
366 of the (configurable) system jiffy (see
367 .BR time (7)).
368 .\" FIXME .
369 .\" When si_utime and si_stime where originally implemented, the
370 .\" measurement unit was HZ, which was the same as clock ticks
371 .\" (sysconf(_SC_CLK_TCK)).  In 2.6, HZ became configurable, and
372 .\" was *still* used as the unit to return the info these fields,
373 .\" with the result that the field values depended on the the
374 .\" configured HZ.  Of course, the should have been measured in
375 .\" USER_HZ instead, so that sysconf(_SC_CLK_TCK) could be used to
376 .\" convert to seconds.  I have a queued patch to fix this:
377 .\" http://thread.gmane.org/gmane.linux.kernel/698061/ .
378 .\" This patch made it into 2.6.27.
379 .\" But note that these fields still don't return the times of
380 .\" waited-for children (as is done by getrusage() and times()
381 .\" and wait4()).  Solaris 8 does include child times.
382 .IP *
383 .BR SIGILL ,
384 .BR SIGFPE ,
385 .BR SIGSEGV ,
386 .BR SIGBUS ,
387 and
388 .BR SIGTRAP
389 fill in
390 .I si_addr
391 with the address of the fault.
392 .\" FIXME SIGTRAP also sets the following for ptrace_notify() ?
393 .\"     info.si_code = exit_code;
394 .\"     info.si_pid = task_pid_vnr(current);
395 .\"     info.si_uid = current_uid();  /* Real UID */
396 On some architectures,
397 these signals also fill in the
398 .I si_trapno
399 filed.
400 Some suberrors of
401 .BR SIGBUS ,
402 in particular
403 .B BUS_MCEERR_AO
404 and
405 .BR BUS_MCEERR_AR ,
406 also fill in
407 .IR si_addr_lsb .
408 This field indicates the least significant bit of the reported address
409 and therefore the extent of the corruption.
410 For example, if a full page was corrupted,
411 .I si_addr_lsb
412 contains
413 .IR log2(sysconf(_SC_PAGESIZE)) .
414 .B BUS_MCERR_*
415 and
416 .I si_addr_lsb
417 are Linux-specific extensions.
418 .IP *
419 .BR SIGPOLL / SIGIO
420 fills in
421 .IR si_band " and " si_fd .
422 The
423 .I si_band
424 event is a bit mask containing the same values as are filled in the
425 .I revents
426 field by
427 .BR poll (2).
428 The
429 .I si_fd
430 field indicates the file descriptor for which the I/O event occurred.
431 .PP
432 .I si_code
433 is a value (not a bit mask)
434 indicating why this signal was sent.
435 The following list shows the values which can be placed in
436 .I si_code
437 for any signal, along with reason that the signal was generated.
438 .RS 4
439 .TP 15
440 .B SI_USER
441 .BR kill (2)
442 or
443 .BR raise (3)
444 .TP
445 .B SI_KERNEL
446 Sent by the kernel.
447 .TP
448 .B SI_QUEUE
449 .BR sigqueue (2)
450 .TP
451 .B SI_TIMER
452 POSIX timer expired
453 .TP
454 .B SI_MESGQ
455 POSIX message queue state changed (since Linux 2.6.6); see
456 .BR mq_notify (3)
457 .TP
458 .B SI_ASYNCIO
459 AIO completed
460 .TP
461 .B SI_SIGIO
462 queued SIGIO
463 .TP
464 .B SI_TKILL
465 .BR tkill (2)
466 or
467 .BR tgkill (2)
468 (since Linux 2.4.19)
469 .\" SI_DETHREAD is defined in 2.6.9 sources, but isn't implemented
470 .\" It appears to have been an idea that was tried during 2.5.6
471 .\" through to 2.5.24 and then was backed out.
472 .RE
473 .PP
474 The following values can be placed in
475 .I si_code
476 for a
477 .B SIGILL
478 signal:
479 .RS 4
480 .TP 15
481 .B ILL_ILLOPC
482 illegal opcode
483 .TP
484 .B ILL_ILLOPN
485 illegal operand
486 .TP
487 .B ILL_ILLADR
488 illegal addressing mode
489 .TP
490 .B ILL_ILLTRP
491 illegal trap
492 .TP
493 .B ILL_PRVOPC
494 privileged opcode
495 .TP
496 .B ILL_PRVREG
497 privileged register
498 .TP
499 .B ILL_COPROC
500 coprocessor error
501 .TP
502 .B ILL_BADSTK
503 internal stack error
504 .RE
505 .PP
506 The following values can be placed in
507 .I si_code
508 for a
509 .B SIGFPE
510 signal:
511 .RS 4
512 .TP 15
513 .B FPE_INTDIV
514 integer divide by zero
515 .TP
516 .B FPE_INTOVF
517 integer overflow
518 .TP
519 .B FPE_FLTDIV
520 floating-point divide by zero
521 .TP
522 .B FPE_FLTOVF
523 floating-point overflow
524 .TP
525 .B FPE_FLTUND
526 floating-point underflow
527 .TP
528 .B FPE_FLTRES
529 floating-point inexact result
530 .TP
531 .B FPE_FLTINV
532 floating-point invalid operation
533 .TP
534 .B FPE_FLTSUB
535 subscript out of range
536 .RE
537 .PP
538 The following values can be placed in
539 .I si_code
540 for a
541 .B SIGSEGV
542 signal:
543 .RS 4
544 .TP 15
545 .B SEGV_MAPERR
546 address not mapped to object
547 .TP
548 .B SEGV_ACCERR
549 invalid permissions for mapped object
550 .RE
551 .PP
552 The following values can be placed in
553 .I si_code
554 for a
555 .B SIGBUS
556 signal:
557 .RS 4
558 .TP 15
559 .B BUS_ADRALN
560 invalid address alignment
561 .TP
562 .B BUS_ADRERR
563 nonexistent physical address
564 .TP
565 .B BUS_OBJERR
566 object-specific hardware error
567 .TP
568 .BR BUS_MCEERR_AR " (since Linux 2.6.32)"
569 Hardware memory error consumed on a machine check; action required.
570 .TP
571 .BR BUS_MCEERR_AO " (since Linux 2.6.32)"
572 Hardware memory error detected in process but not consumed; action optional.
573 .RE
574 .PP
575 The following values can be placed in
576 .I si_code
577 for a
578 .B SIGTRAP
579 signal:
580 .RS 4
581 .TP 15
582 .B TRAP_BRKPT
583 process breakpoint
584 .TP
585 .B TRAP_TRACE
586 process trace trap
587 .TP
588 .BR TRAP_BRANCH " (since Linux 2.4)"
589 process taken branch trap
590 .TP
591 .BR TRAP_HWBKPT " (since Linux 2.4)"
592 hardware breakpoint/watchpoint
593 .RE
594 .PP
595 The following values can be placed in
596 .I si_code
597 for a
598 .B SIGCHLD
599 signal:
600 .RS 4
601 .TP 15
602 .B CLD_EXITED
603 child has exited
604 .TP
605 .B CLD_KILLED
606 child was killed
607 .TP
608 .B CLD_DUMPED
609 child terminated abnormally
610 .TP
611 .B CLD_TRAPPED
612 traced child has trapped
613 .TP
614 .B CLD_STOPPED
615 child has stopped
616 .TP
617 .B CLD_CONTINUED
618 stopped child has continued (since Linux 2.6.9)
619 .RE
620 .PP
621 The following values can be placed in
622 .I si_code
623 for a
624 .B SIGPOLL
625 signal:
626 .RS 4
627 .TP 15
628 .B POLL_IN
629 data input available
630 .TP
631 .B POLL_OUT
632 output buffers available
633 .TP
634 .B POLL_MSG
635 input message available
636 .TP
637 .B POLL_ERR
638 I/O error
639 .TP
640 .B POLL_PRI
641 high priority input available
642 .TP
643 .B POLL_HUP
644 device disconnected
645 .RE
646 .SH "RETURN VALUE"
647 .BR sigaction ()
648 returns 0 on success and \-1 on error.
649 .SH ERRORS
650 .TP
651 .B EFAULT
652 .IR act " or " oldact
653 points to memory which is not a valid part of the process address space.
654 .TP
655 .B EINVAL
656 An invalid signal was specified.
657 This will also be generated if an attempt
658 is made to change the action for
659 .BR SIGKILL " or " SIGSTOP ", "
660 which cannot be caught or ignored.
661 .SH "CONFORMING TO"
662 POSIX.1-2001, SVr4.
663 .\" SVr4 does not document the EINTR condition.
664 .SH NOTES
665 A child created via
666 .BR fork (2)
667 inherits a copy of its parent's signal dispositions.
668 During an
669 .BR execve (2),
670 the dispositions of handled signals are reset to the default;
671 the dispositions of ignored signals are left unchanged.
672
673 According to POSIX, the behavior of a process is undefined after it
674 ignores a
675 .BR SIGFPE ,
676 .BR SIGILL ,
677 or
678 .B SIGSEGV
679 signal that was not generated by
680 .BR kill (2)
681 or
682 .BR raise (3).
683 Integer division by zero has undefined result.
684 On some architectures it will generate a
685 .B SIGFPE
686 signal.
687 (Also dividing the most negative integer by \-1 may generate
688 .BR SIGFPE .)
689 Ignoring this signal might lead to an endless loop.
690 .PP
691 POSIX.1-1990 disallowed setting the action for
692 .B SIGCHLD
693 to
694 .BR SIG_IGN .
695 POSIX.1-2001 allows this possibility, so that ignoring
696 .B SIGCHLD
697 can be used to prevent the creation of zombies (see
698 .BR wait (2)).
699 Nevertheless, the historical BSD and System V behaviors for ignoring
700 .B SIGCHLD
701 differ, so that the only completely portable method of ensuring that
702 terminated children do not become zombies is to catch the
703 .B SIGCHLD
704 signal and perform a
705 .BR wait (2)
706 or similar.
707 .PP
708 POSIX.1-1990 only specified
709 .BR SA_NOCLDSTOP .
710 POSIX.1-2001 added
711 .BR SA_NOCLDWAIT ,
712 .BR SA_RESETHAND ,
713 .BR SA_NODEFER ,
714 and
715 .BR SA_SIGINFO .
716 Use of these latter values in
717 .I sa_flags
718 may be less portable in applications intended for older
719 UNIX implementations.
720 .PP
721 The
722 .B SA_RESETHAND
723 flag is compatible with the SVr4 flag of the same name.
724 .PP
725 The
726 .B SA_NODEFER
727 flag is compatible with the SVr4 flag of the same name under kernels
728 1.3.9 and newer.
729 On older kernels the Linux implementation
730 allowed the receipt of any signal, not just the one we are installing
731 (effectively overriding any
732 .I sa_mask
733 settings).
734 .PP
735 .BR sigaction ()
736 can be called with a NULL second argument to query the current signal
737 handler.
738 It can also be used to check whether a given signal is valid for
739 the current machine by calling it with NULL second and third arguments.
740 .PP
741 It is not possible to block
742 .BR SIGKILL " or " SIGSTOP
743 (by specifying them in
744 .IR sa_mask ).
745 Attempts to do so are silently ignored.
746 .PP
747 See
748 .BR sigsetops (3)
749 for details on manipulating signal sets.
750 .PP
751 See
752 .BR signal (7)
753 for a list of the async-signal-safe functions that can be
754 safely called inside from inside a signal handler.
755 .SS Undocumented
756 Before the introduction of
757 .B SA_SIGINFO
758 it was also possible to get some additional information,
759 namely by using a
760 .I sa_handler
761 with second argument of type
762 .IR "struct sigcontext".
763 See the relevant kernel sources for details.
764 This use is obsolete now.
765 .SH BUGS
766 In kernels up to and including 2.6.13, specifying
767 .B SA_NODEFER
768 in
769 .I sa_flags
770 prevents not only the delivered signal from being masked during
771 execution of the handler, but also the signals specified in
772 .IR sa_mask .
773 This bug was fixed in kernel 2.6.14.
774 .SH EXAMPLE
775 See
776 .BR mprotect (2).
777 .SH "SEE ALSO"
778 .BR kill (1),
779 .BR kill (2),
780 .BR killpg (2),
781 .BR pause (2),
782 .BR sigaltstack (2),
783 .BR signal (2),
784 .BR signalfd (2),
785 .BR sigpending (2),
786 .BR sigprocmask (2),
787 .BR sigqueue (2),
788 .BR sigsuspend (2),
789 .BR wait (2),
790 .BR raise (3),
791 .BR siginterrupt (3),
792 .BR sigsetops (3),
793 .BR sigvec (3),
794 .BR core (5),
795 .BR signal (7)