The following table shows the semantics for each signal as recognized by the signal function:
Table E–8 Semantics for signal Signals|
Signal |
No. |
Default |
Event |
|---|---|---|---|
|
SIGHUP |
1 |
Exit |
hangup |
|
SIGINT |
2 |
Exit |
interrupt |
|
SIGQUIT |
3 |
Core |
quit |
|
SIGILL |
4 |
Core |
illegal instruction (not reset when caught) |
|
SIGTRAP |
5 |
Core |
trace trap (not reset when caught) |
|
SIGIOT |
6 |
Core |
IOT instruction |
|
SIGABRT |
6 |
Core |
Used by abort |
|
SIGEMT |
7 |
Core |
EMT instruction |
|
SIGFPE |
8 |
Core |
floating point exception |
|
SIGKILL |
9 |
Exit |
kill (cannot be caught or ignored) |
|
SIGBUS |
10 |
Core |
bus error |
|
SIGSEGV |
11 |
Core |
segmentation violation |
|
SIGSYS |
12 |
Core |
bad argument to system call |
|
SIGPIPE |
13 |
Exit |
write on a pipe with no one to read it |
|
SIGALRM |
14 |
Exit |
alarm clock |
|
SIGTERM |
15 |
Exit |
software termination signal from kill |
|
SIGUSR1 |
16 |
Exit |
user defined signal 1 |
|
SIGUSR2 |
17 |
Exit |
user defined signal 2 |
|
SIGCLD |
18 |
Ignore |
child status change |
|
SIGCHLD |
18 |
Ignore |
child status change alias |
|
SIGPWR |
19 |
Ignore |
power-fail restart |
|
SIGWINCH |
20 |
Ignore |
window size change |
|
SIGURG |
21 |
Ignore |
urgent socket condition |
|
SIGPOLL |
22 |
Exit |
pollable event occurred |
|
SIGIO |
22 |
Exit |
socket I/O possible |
|
SIGSTOP |
23 |
Stop |
stop (cannot be caught or ignored) |
|
SIGTSTP |
24 |
Stop |
user stop requested from tty |
|
SIGCONT |
25 |
Ignore |
stopped process has been continued |
|
SIGTTIN |
26 |
Stop |
background tty read attempted |
|
SIGTTOU |
27 |
Stop |
background tty write attempted |
|
SIGVTALRM |
28 |
Exit |
virtual timer expired |
|
SIGPROF |
29 |
Exit |
profiling timer expired |
|
SIGXCPU |
30 |
Core |
exceeded cpu limit |
|
SIGXFSZ |
31 |
Core |
exceeded file size limit |
|
SIGWAITINGT |
32 |
Ignore |
process’s lwps are blocked |