BSD 4 release
[unix-history] / usr / src / cmd / sdb / message.c
index 6b39d42..2f95368 100644 (file)
@@ -1,3 +1,4 @@
+static char sccsid[] = "@(#)message.c 4.1 10/9/80";
 #
 /*
  *
 #
 /*
  *
@@ -22,3 +23,39 @@ MSG          ENDPCS  =  "process terminated";
 MSG            NOFORK  =  "try again";
 MSG            SZBKPT  =  "bkpt: command too long";
 MSG            BADMAG  =  "bad core magic number";
 MSG            NOFORK  =  "try again";
 MSG            SZBKPT  =  "bkpt: command too long";
 MSG            BADMAG  =  "bad core magic number";
+
+STRING         signals[] = {
+       "",
+       "hangup",
+       "interrupt",
+       "quit",
+       "illegal instruction",
+       "trace/BPT",
+       "IOT",
+       "EMT",
+       "floating exception",
+       "killed",
+       "bus error",
+       "memory fault",
+       "bad system call",
+       "broken pipe",
+       "alarm call",
+       "terminated",
+       "signal 16",
+       "stop (signal)",
+       "stop (tty)",
+       "continue (signal)",
+       "child termination",
+       "stop (tty input)",
+       "stop (tty output)",
+       "input available (signal)",
+       "cpu timelimit",
+       "file sizelimit",
+       "signal 26",
+       "signal 27",
+       "signal 28",
+       "signal 29",
+       "signal 30",
+       "signal 31",
+};
+int    nsig = sizeof (signals)/sizeof (signals[0]);