4 * Construct the signal list
10 const char * const sys_siglist[NSIG] = {
12 [SIGABRT] = "Aborted",
15 [SIGALRM] = "Alarm clock",
18 [SIGBUS] = "Bus error",
21 [SIGCHLD] = "Child exited",
23 #if defined(SIGCLD) && (SIGCHLD != SIGCLD)
24 [SIGCLD] = "Child exited",
27 [SIGEMT] = "Emulation trap",
30 [SIGFPE] = "Floating point exception",
36 [SIGILL] = "Illegal instruction",
38 /* SIGINFO == SIGPWR */
40 [SIGINT] = "Interrupt",
43 [SIGIO] = "I/O possible",
45 #if defined(SIGIOT) && (SIGIOT != SIGABRT)
46 [SIGIOT] = "I/O trap",
51 #if defined(SIGLOST) && (SIGLOST != SIGIO) && (SIGLOST != SIGPWR)
52 [SIGLOST] = "Lock lost",
55 [SIGPIPE] = "Broken pipe",
57 #if defined(SIGPOLL) && (SIGPOLL != SIGIO)
58 [SIGPOLL] = "Pollable event",
61 [SIGPROF] = "Profiling timer expired",
64 [SIGPWR] = "Power failure",
69 /* SIGRESERVE == SIGUNUSED */
71 [SIGSEGV] = "Segment violation",
74 [SIGSTKFLT] = "Stack fault",
77 [SIGSTOP] = "Stopped (signal)",
80 [SIGSYS] = "Bad system call",
83 [SIGTERM] = "Terminated",
86 [SIGTSTP] = "Stopped",
89 [SIGTTIN] = "Stopped (tty input)",
92 [SIGTTOU] = "Stopped (tty output)",
95 [SIGURG] = "Urgent I/O condition",
98 [SIGUSR1] = "User signal 1",
101 [SIGUSR2] = "User signal 2",
104 [SIGVTALRM] = "Virtual timer expired",
107 [SIGWINCH] = "Window size changed",
110 [SIGXCPU] = "CPU time limit exceeded",
113 [SIGXFSZ] = "File size limit exceeded",