moved the string table definition to libroot where it belonged

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1982 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Daniel Reinhold 2002-11-18 00:39:41 +00:00
parent f19d3dedbe
commit 453532db1c
2 changed files with 28 additions and 27 deletions

View File

@ -17,33 +17,6 @@
#include <syscalls.h>
const char * const
sys_siglist[NSIG] = {
/* 0 */ "Signal 0",
/* 1 - SIGHUP */ "Hangup",
/* 2 - SIGINT */ "Interrupt",
/* 3 - SIGQUIT */ "Quit",
/* 4 - SIGILL */ "Illegal instruction",
/* 5 - SIGCHLD */ "Child exited",
/* 6 - SIGABRT */ "Abort",
/* 7 - SIGPIPE */ "Broken pipe",
/* 8 - SIGFPE */ "Floating point exception",
/* 9 - SIGKILL */ "Killed (by death)",
/* 10 - SIGSTOP */ "Stopped",
/* 11 - SIGSEGV */ "Segmentation violation",
/* 12 - SIGCONT */ "Continued",
/* 13 - SIGTSTP */ "Stopped (tty output)",
/* 14 - SIGALRM */ "Alarm",
/* 15 - SIGTERM */ "Termination requested",
/* 16 - SIGTTIN */ "Stopped (tty input)",
/* 17 - SIGTTOU */ "Stopped (tty output)",
/* 18 - SIGUSR1 */ "User defined signal 1",
/* 19 - SIGUSR2 */ "User defined signal 2",
/* 20 - SIGWINCH */ "Window size changed",
/* 21 - SIGKILLTHR */ "Kill Thread",
/* 22 - SIGTRAP */ NULL
};
const char * const sigstr[NSIG] = {
"NONE", "HUP", "INT", "QUIT", "ILL", "CHLD", "ABRT", "PIPE",

View File

@ -17,6 +17,34 @@
*/
const char * const
sys_siglist[NSIG] = {
/* 0 */ "Signal 0",
/* 1 - SIGHUP */ "Hangup",
/* 2 - SIGINT */ "Interrupt",
/* 3 - SIGQUIT */ "Quit",
/* 4 - SIGILL */ "Illegal instruction",
/* 5 - SIGCHLD */ "Child exited",
/* 6 - SIGABRT */ "Abort",
/* 7 - SIGPIPE */ "Broken pipe",
/* 8 - SIGFPE */ "Floating point exception",
/* 9 - SIGKILL */ "Killed (by death)",
/* 10 - SIGSTOP */ "Stopped",
/* 11 - SIGSEGV */ "Segmentation violation",
/* 12 - SIGCONT */ "Continued",
/* 13 - SIGTSTP */ "Stopped (tty output)",
/* 14 - SIGALRM */ "Alarm",
/* 15 - SIGTERM */ "Termination requested",
/* 16 - SIGTTIN */ "Stopped (tty input)",
/* 17 - SIGTTOU */ "Stopped (tty output)",
/* 18 - SIGUSR1 */ "User defined signal 1",
/* 19 - SIGUSR2 */ "User defined signal 2",
/* 20 - SIGWINCH */ "Window size changed",
/* 21 - SIGKILLTHR */ "Kill Thread",
/* 22 - SIGTRAP */ NULL
};
const char *
strsignal(int sig)
{