From 28f540f45bbacd939bfd07f213bcad2bf730b1bf Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 18 Feb 1995 01:27:10 +0000 Subject: initial import --- sysdeps/unix/siglist.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 sysdeps/unix/siglist.c (limited to 'sysdeps/unix/siglist.c') diff --git a/sysdeps/unix/siglist.c b/sysdeps/unix/siglist.c new file mode 100644 index 0000000000..c904e7f38d --- /dev/null +++ b/sysdeps/unix/siglist.c @@ -0,0 +1,46 @@ +#include +#include + +#ifndef HAVE_GNU_LD +#define _sys_siglist sys_siglist +#endif + +/* This is a list of all known signal numbers. */ + +CONST char *CONST _sys_siglist[] = + { + "Signal 0", + "Hangup", + "Interrupt", + "Quit", + "Illegal instruction", + "Trace/BPT trap", + "IOT trap", + "EMT trap", + "Floating point exception", + "Killed", + "Bus error", + "Segmentation fault", + "Bad system call", + "Broken pipe", + "Alarm clock", + "Terminated", + "Urgent I/O condition", + "Stopped (signal)", + "Stopped", + "Continued", + "Child exited", + "Stopped (tty input)", + "Stopped (tty output)", + "I/O possible", + "Cputime limit exceeded", + "Filesize limit exceeded", + "Virtual timer expired", + "Profiling timer expired", + "Window changed", + "Resource lost", + "User defined signal 1", + "User defined signal 2", + NULL + }; + -- cgit 1.4.1