yuezonghe | 824eb0c | 2024-06-27 02:32:26 -0700 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (C) 2002 Manuel Novoa III |
| 3 | * Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org> |
| 4 | * |
| 5 | * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. |
| 6 | */ |
| 7 | |
| 8 | #include <features.h> |
| 9 | |
| 10 | #ifdef __UCLIBC_HAS_SIGNUM_MESSAGES__ |
| 11 | |
| 12 | attribute_hidden |
| 13 | const char _string_syssigmsgs[] = { |
| 14 | /* 0: 0, 1 */ "\0" |
| 15 | /* 1: 1, 7 */ "Hangup\0" |
| 16 | /* 2: 8, 10 */ "Interrupt\0" |
| 17 | /* 3: 18, 5 */ "Quit\0" |
| 18 | /* 4: 23, 20 */ "Illegal instruction\0" |
| 19 | /* 5: 43, 22 */ "Trace/breakpoint trap\0" |
| 20 | /* 6: 65, 8 */ "Aborted\0" |
| 21 | /* 7: 73, 10 */ "Bus error\0" |
| 22 | /* 8: 83, 25 */ "Floating point exception\0" |
| 23 | /* 9: 108, 7 */ "Killed\0" |
| 24 | /* 10: 115, 22 */ "User defined signal 1\0" |
| 25 | /* 11: 137, 19 */ "Segmentation fault\0" |
| 26 | /* 12: 156, 22 */ "User defined signal 2\0" |
| 27 | /* 13: 178, 12 */ "Broken pipe\0" |
| 28 | /* 14: 190, 12 */ "Alarm clock\0" |
| 29 | /* 15: 202, 11 */ "Terminated\0" |
| 30 | /* 16: 213, 12 */ "Stack fault\0" |
| 31 | /* 17: 225, 13 */ "Child exited\0" |
| 32 | /* 18: 238, 10 */ "Continued\0" |
| 33 | /* 19: 248, 17 */ "Stopped (signal)\0" |
| 34 | /* 20: 265, 8 */ "Stopped\0" |
| 35 | /* 21: 273, 20 */ "Stopped (tty input)\0" |
| 36 | /* 22: 293, 21 */ "Stopped (tty output)\0" |
| 37 | /* 23: 314, 21 */ "Urgent I/O condition\0" |
| 38 | /* 24: 335, 24 */ "CPU time limit exceeded\0" |
| 39 | /* 25: 359, 25 */ "File size limit exceeded\0" |
| 40 | /* 26: 384, 22 */ "Virtual timer expired\0" |
| 41 | /* 27: 406, 24 */ "Profiling timer expired\0" |
| 42 | /* 28: 430, 15 */ "Window changed\0" |
| 43 | /* 29: 445, 13 */ "I/O possible\0" |
| 44 | /* 30: 458, 14 */ "Power failure\0" |
| 45 | /* 31: 472, 16 */ "Bad system call" |
| 46 | #if defined SIGEMT |
| 47 | /* 32: 488, 9 */ "\0EMT trap" |
| 48 | #endif |
| 49 | }; |
| 50 | |
| 51 | #endif |