diff options
| author | _ov4 <ov4@ov4.org> | 2026-09-01 06:21:08 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-09-01 06:21:08 +0000 |
| commit | c9c3b2f4357e30dd078075b3259d86adca6958e3 (patch) | |
| tree | 30c826381261333a0f78d87b41e176e148ddd68f /include/handler.h | |
| parent | d77e0e13d3624f6210fee3317a5677b2d705a19f (diff) | |
1
Diffstat (limited to 'include/handler.h')
| -rw-r--r-- | include/handler.h | 5 |
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); |
