summaryrefslogtreecommitdiffstats
path: root/src/signals.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/signals.h')
-rw-r--r--src/signals.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/signals.h b/src/signals.h
new file mode 100644
index 0000000..b936c46
--- /dev/null
+++ b/src/signals.h
@@ -0,0 +1,19 @@
+/* signals.h - signal name handling */
+
+/* Copyright 1993-1995 Werner Almesberger. See file COPYING for details. */
+
+
+#ifndef SIGNALS_H
+#define SIGNALS_H
+
+void list_signals (void);
+
+/* Lists all known signal names on standard output. */
+
+int get_signal (char *name, const char *cmd);
+
+/* Returns the signal number of NAME. If no such signal exists, an error
+ message is displayed and the program is terminated. CMD is the name of the
+ application. */
+
+#endif