aboutsummaryrefslogtreecommitdiff
path: root/include/handler.h
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-09-01 06:21:08 +0000
committer_ov4 <ov4@ov4.org>2026-09-01 06:21:08 +0000
commitc9c3b2f4357e30dd078075b3259d86adca6958e3 (patch)
tree30c826381261333a0f78d87b41e176e148ddd68f /include/handler.h
parentd77e0e13d3624f6210fee3317a5677b2d705a19f (diff)
1
Diffstat (limited to 'include/handler.h')
-rw-r--r--include/handler.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/handler.h b/include/handler.h
index f226387..225fc93 100644
--- a/include/handler.h
+++ b/include/handler.h
@@ -18,7 +18,10 @@
namespace ov4
{
-void init();
+typedef void handler_t(int);
+
+void signal_init();
+handler_t *Signal(int signum, handler_t *handler);
void sigchld_handler(int sig);
void sigint_handler(int sig);
void sigtstp_handler(int sig);