github.com/razvanm/vanadium-go-1.3@v0.0.0-20160721203343-4a65068e5915/src/runtime/signals_freebsd.h (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 #include "textflag.h" 6 7 #define N SigNotify 8 #define K SigKill 9 #define T SigThrow 10 #define P SigPanic 11 #define D SigDefault 12 13 #pragma dataflag NOPTR 14 SigTab runtimeĀ·sigtab[] = { 15 /* 0 */ 0, "SIGNONE: no trap", 16 /* 1 */ N+K, "SIGHUP: terminal line hangup", 17 /* 2 */ N+K, "SIGINT: interrupt", 18 /* 3 */ N+T, "SIGQUIT: quit", 19 /* 4 */ T, "SIGILL: illegal instruction", 20 /* 5 */ T, "SIGTRAP: trace trap", 21 /* 6 */ N+T, "SIGABRT: abort", 22 /* 7 */ T, "SIGEMT: emulate instruction executed", 23 /* 8 */ P, "SIGFPE: floating-point exception", 24 /* 9 */ 0, "SIGKILL: kill", 25 /* 10 */ P, "SIGBUS: bus error", 26 /* 11 */ P, "SIGSEGV: segmentation violation", 27 /* 12 */ N, "SIGSYS: bad system call", 28 /* 13 */ N, "SIGPIPE: write to broken pipe", 29 /* 14 */ N, "SIGALRM: alarm clock", 30 /* 15 */ N+K, "SIGTERM: termination", 31 /* 16 */ N, "SIGURG: urgent condition on socket", 32 /* 17 */ 0, "SIGSTOP: stop", 33 /* 18 */ N+D, "SIGTSTP: keyboard stop", 34 /* 19 */ 0, "SIGCONT: continue after stop", 35 /* 20 */ N, "SIGCHLD: child status has changed", 36 /* 21 */ N+D, "SIGTTIN: background read from tty", 37 /* 22 */ N+D, "SIGTTOU: background write to tty", 38 /* 23 */ N, "SIGIO: i/o now possible", 39 /* 24 */ N, "SIGXCPU: cpu limit exceeded", 40 /* 25 */ N, "SIGXFSZ: file size limit exceeded", 41 /* 26 */ N, "SIGVTALRM: virtual alarm clock", 42 /* 27 */ N, "SIGPROF: profiling alarm clock", 43 /* 28 */ N, "SIGWINCH: window size change", 44 /* 29 */ N, "SIGINFO: status request from keyboard", 45 /* 30 */ N, "SIGUSR1: user-defined signal 1", 46 /* 31 */ N, "SIGUSR2: user-defined signal 2", 47 /* 32 */ N, "SIGTHR: reserved", 48 }; 49 50 #undef N 51 #undef K 52 #undef T 53 #undef P 54 #undef D