summaryrefslogtreecommitdiff
path: root/libc/string/strsignal.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-10-23 23:23:54 +0000
committerEric Andersen <andersen@codepoet.org>2000-10-23 23:23:54 +0000
commit5606e4d6f92c10af214b54a01db79cf561067e58 (patch)
treef50c5adf765ad7492736b3fb0e9ae669573e4e5e /libc/string/strsignal.c
parent56c9a8402ff4c9004331efc77e5a5fe62aa65014 (diff)
More reorg. A place for everything and everything in its place...
Diffstat (limited to 'libc/string/strsignal.c')
-rw-r--r--libc/string/strsignal.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/libc/string/strsignal.c b/libc/string/strsignal.c
index ff4f69923..83a862bfb 100644
--- a/libc/string/strsignal.c
+++ b/libc/string/strsignal.c
@@ -8,7 +8,7 @@
#include <malloc.h>
#include <signal.h>
-const char *const sys_siglist[NSIG] = {
+const char *const sys_siglist[] = {
"Unknown signal",
"Hangup",
"Interrupt",
@@ -32,20 +32,21 @@ const char *const sys_siglist[NSIG] = {
"Stopped",
"Stopped (tty input)",
"Stopped (tty output)",
- "Possible I/O",
+ "Urgent condition",
"CPU time limit exceeded",
"File size limit exceeded",
"Virtual time alarm",
"Profile signal",
"Window size changed",
- "File lock lost",
+ "Possible I/O",
"Power failure",
- "Unused signal"
+ "Unused signal",
+ NULL
};
/********************** Function strsignal ************************************/
-char *strsignal (int sig)
+char *strsignal(int sig)
{
static char retbuf[80];