github.com/aloncn/graphics-go@v0.0.1/src/runtime/signal_netbsd.go (about) 1 // Copyright 2009 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package runtime 6 7 type sigTabT struct { 8 flags int32 9 name string 10 } 11 12 var sigtable = [...]sigTabT{ 13 /* 0 */ {0, "SIGNONE: no trap"}, 14 /* 1 */ {_SigNotify + _SigKill, "SIGHUP: terminal line hangup"}, 15 /* 2 */ {_SigNotify + _SigKill, "SIGINT: interrupt"}, 16 /* 3 */ {_SigNotify + _SigThrow, "SIGQUIT: quit"}, 17 /* 4 */ {_SigThrow + _SigUnblock, "SIGILL: illegal instruction"}, 18 /* 5 */ {_SigThrow + _SigUnblock, "SIGTRAP: trace trap"}, 19 /* 6 */ {_SigNotify + _SigThrow, "SIGABRT: abort"}, 20 /* 7 */ {_SigThrow, "SIGEMT: emulate instruction executed"}, 21 /* 8 */ {_SigPanic + _SigUnblock, "SIGFPE: floating-point exception"}, 22 /* 9 */ {0, "SIGKILL: kill"}, 23 /* 10 */ {_SigPanic + _SigUnblock, "SIGBUS: bus error"}, 24 /* 11 */ {_SigPanic + _SigUnblock, "SIGSEGV: segmentation violation"}, 25 /* 12 */ {_SigThrow, "SIGSYS: bad system call"}, 26 /* 13 */ {_SigNotify, "SIGPIPE: write to broken pipe"}, 27 /* 14 */ {_SigNotify, "SIGALRM: alarm clock"}, 28 /* 15 */ {_SigNotify + _SigKill, "SIGTERM: termination"}, 29 /* 16 */ {_SigNotify, "SIGURG: urgent condition on socket"}, 30 /* 17 */ {0, "SIGSTOP: stop"}, 31 /* 18 */ {_SigNotify + _SigDefault, "SIGTSTP: keyboard stop"}, 32 /* 19 */ {_SigNotify + _SigDefault, "SIGCONT: continue after stop"}, 33 /* 20 */ {_SigNotify + _SigUnblock, "SIGCHLD: child status has changed"}, 34 /* 21 */ {_SigNotify + _SigDefault, "SIGTTIN: background read from tty"}, 35 /* 22 */ {_SigNotify + _SigDefault, "SIGTTOU: background write to tty"}, 36 /* 23 */ {_SigNotify, "SIGIO: i/o now possible"}, 37 /* 24 */ {_SigNotify, "SIGXCPU: cpu limit exceeded"}, 38 /* 25 */ {_SigNotify, "SIGXFSZ: file size limit exceeded"}, 39 /* 26 */ {_SigNotify, "SIGVTALRM: virtual alarm clock"}, 40 /* 27 */ {_SigNotify + _SigUnblock, "SIGPROF: profiling alarm clock"}, 41 /* 28 */ {_SigNotify, "SIGWINCH: window size change"}, 42 /* 29 */ {_SigNotify, "SIGINFO: status request from keyboard"}, 43 /* 30 */ {_SigNotify, "SIGUSR1: user-defined signal 1"}, 44 /* 31 */ {_SigNotify, "SIGUSR2: user-defined signal 2"}, 45 /* 32 */ {_SigNotify, "SIGTHR: reserved"}, 46 }