From 112eafe13c3628cad6e692179c064dbbc3be2d8b Mon Sep 17 00:00:00 2001 From: dzwdz Date: Fri, 9 Jun 2023 17:22:31 +0200 Subject: ports/dash: stub out everything needed for dash to compile --- src/user/lib/signal.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/user/lib/signal.c (limited to 'src/user/lib/signal.c') diff --git a/src/user/lib/signal.c b/src/user/lib/signal.c new file mode 100644 index 0000000..0ec8b50 --- /dev/null +++ b/src/user/lib/signal.c @@ -0,0 +1,25 @@ +#include +#include + +const char *const sys_siglist[] = { + NULL, + "SIGHUP", /* 1 */ + "SIGINT", /* 2 */ + "SIGQUIT", /* 3 */ + "SIGILL", /* 4 */ + "SIGTRAP", /* 5 */ + "SIGABRT", /* 6 */ + "SIGFPE", /* 8 */ + "SIGKILL", /* 9 */ + "SIGSEGV", /* 11 */ + "SIGPIPE", /* 13 */ + "SIGALRM", /* 14 */ + "SIGTERM", /* 15 */ + "SIGCONT", /* 16 */ + "SIGPIPE", /* 17 */ + "SIGTSTP", /* 18 */ + "SIGTTIN", /* 19 */ + "SIGTTOU", /* 20 */ + "SIGWINCH", /* 21 */ + "SIGCHLD", /* 22 */ +}; -- cgit v1.2.3