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