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