diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-11-06 12:02:58 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-11-06 12:02:58 +0100 |
commit | 46f0c28a4a7cbafb26289647363864e1eb82b53a (patch) | |
tree | 6bae6d1adc3abf29e0854cbcf2bf2d6df903d18d /LibC/signal.h | |
parent | 153ea704af5e22c70e169f112e9df3e4cd9a6f11 (diff) | |
download | serenity-46f0c28a4a7cbafb26289647363864e1eb82b53a.zip |
Add sigset_t helper functions to LibC.
Diffstat (limited to 'LibC/signal.h')
-rw-r--r-- | LibC/signal.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/LibC/signal.h b/LibC/signal.h index 452840e874..03e2f03d4a 100644 --- a/LibC/signal.h +++ b/LibC/signal.h @@ -22,7 +22,12 @@ struct sigaction { int kill(pid_t, int sig); sighandler_t signal(int sig, sighandler_t); -int sigaction(int signum, const struct sigaction* act, struct sigaction* old_act); +int sigaction(int sig, const struct sigaction* act, struct sigaction* old_act); +int sigemptyset(sigset_t*); +int sigfillset(sigset_t*); +int sigaddset(sigset_t*, int sig); +int sigdelset(sigset_t*, int sig); +int sigismember(const sigset_t*, int sig); #define SIG_DFL ((__sighandler_t)0) #define SIG_ERR ((__sighandler_t)-1) |