diff options
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h index 84dd2bc8d1..93d67081b7 100644 --- a/src/util.h +++ b/src/util.h @@ -28,6 +28,7 @@ #include <stdbool.h> #include <stdlib.h> #include <stdio.h> +#include <signal.h> typedef uint64_t usec_t; @@ -223,7 +224,9 @@ int release_terminal(void); int flush_fd(int fd); -int ignore_signal(int sig); +int ignore_signals(int sig, ...); +int default_signals(int sig, ...); +int sigaction_many(const struct sigaction *sa, ...); int close_pipe(int p[]); |