aboutsummaryrefslogtreecommitdiffstats
path: root/code/tools/lcc/include/alpha/osf/signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'code/tools/lcc/include/alpha/osf/signal.h')
-rw-r--r--code/tools/lcc/include/alpha/osf/signal.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/code/tools/lcc/include/alpha/osf/signal.h b/code/tools/lcc/include/alpha/osf/signal.h
new file mode 100644
index 0000000..c208a6b
--- /dev/null
+++ b/code/tools/lcc/include/alpha/osf/signal.h
@@ -0,0 +1,20 @@
+#ifndef __SIGNAL
+#define __SIGNAL
+
+typedef int sig_atomic_t;
+
+#define SIG_DFL ((void (*)(int))0)
+#define SIG_ERR ((void (*)(int))-1)
+#define SIG_IGN ((void (*)(int))1)
+
+#define SIGABRT 6
+#define SIGFPE 8
+#define SIGILL 4
+#define SIGINT 2
+#define SIGSEGV 11
+#define SIGTERM 15
+
+void (*signal(int, void (*)(int)))(int);
+int raise(int);
+
+#endif /* __SIGNAL */