aboutsummaryrefslogtreecommitdiff
path: root/src/lib/include/signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/include/signal.h')
-rw-r--r--src/lib/include/signal.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/lib/include/signal.h b/src/lib/include/signal.h
new file mode 100644
index 0000000..297db87
--- /dev/null
+++ b/src/lib/include/signal.h
@@ -0,0 +1,15 @@
+#pragma once
+
+// TODO
+
+typedef int sig_atomic_t;
+
+#define SIG_DFL 0 // stupid
+
+#define SIGINT 42 // stupid
+
+void (*signal(int sig, void (*func)(int)))(int);
+
+
+
+/* vim: set sts=0 ts=4 sw=4 tw=0 noet :*/