Source file
src/runtime/signal_darwin.go
Documentation: runtime
1
2
3
4
5 package runtime
6
7 var sigtable = [...]sigTabT{
8 {0, "SIGNONE: no trap"},
9 {_SigNotify + _SigKill, "SIGHUP: terminal line hangup"},
10 {_SigNotify + _SigKill, "SIGINT: interrupt"},
11 {_SigNotify + _SigThrow, "SIGQUIT: quit"},
12 {_SigThrow + _SigUnblock, "SIGILL: illegal instruction"},
13 {_SigThrow + _SigUnblock, "SIGTRAP: trace trap"},
14 {_SigNotify + _SigThrow, "SIGABRT: abort"},
15 {_SigThrow, "SIGEMT: emulate instruction executed"},
16 {_SigPanic + _SigUnblock, "SIGFPE: floating-point exception"},
17 {0, "SIGKILL: kill"},
18 {_SigPanic + _SigUnblock, "SIGBUS: bus error"},
19 {_SigPanic + _SigUnblock, "SIGSEGV: segmentation violation"},
20 {_SigThrow, "SIGSYS: bad system call"},
21 {_SigNotify, "SIGPIPE: write to broken pipe"},
22 {_SigNotify, "SIGALRM: alarm clock"},
23 {_SigNotify + _SigKill, "SIGTERM: termination"},
24 {_SigNotify + _SigIgn, "SIGURG: urgent condition on socket"},
25 {0, "SIGSTOP: stop"},
26 {_SigNotify + _SigDefault + _SigIgn, "SIGTSTP: keyboard stop"},
27 {_SigNotify + _SigDefault + _SigIgn, "SIGCONT: continue after stop"},
28 {_SigNotify + _SigUnblock + _SigIgn, "SIGCHLD: child status has changed"},
29 {_SigNotify + _SigDefault + _SigIgn, "SIGTTIN: background read from tty"},
30 {_SigNotify + _SigDefault + _SigIgn, "SIGTTOU: background write to tty"},
31 {_SigNotify + _SigIgn, "SIGIO: i/o now possible"},
32 {_SigNotify, "SIGXCPU: cpu limit exceeded"},
33 {_SigNotify, "SIGXFSZ: file size limit exceeded"},
34 {_SigNotify, "SIGVTALRM: virtual alarm clock"},
35 {_SigNotify + _SigUnblock, "SIGPROF: profiling alarm clock"},
36 {_SigNotify + _SigIgn, "SIGWINCH: window size change"},
37 {_SigNotify + _SigIgn, "SIGINFO: status request from keyboard"},
38 {_SigNotify, "SIGUSR1: user-defined signal 1"},
39 {_SigNotify, "SIGUSR2: user-defined signal 2"},
40 }
41
View as plain text