summaryrefslogtreecommitdiff
path: root/sig.h
diff options
context:
space:
mode:
Diffstat (limited to 'sig.h')
-rw-r--r--sig.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sig.h b/sig.h
new file mode 100644
index 0000000..10627b8
--- /dev/null
+++ b/sig.h
@@ -0,0 +1,7 @@
+#ifndef SIG_H
+#define SIG_H
+
+extern void register_signal(int signal, void (*handler)(int));
+extern void register_signal_f(int signal, void (*handler)(int), int flags);
+
+#endif /* SIG_H */