From: Matthias Kruk Date: Tue, 14 Jan 2020 11:27:07 +0000 (+0900) Subject: Add prototypes for functions manipulating sigset_t types X-Git-Url: https://git.corax.cc/?a=commitdiff_plain;h=f309785ee7e206af7778e32883e5e8cdfba081b3;p=corax Add prototypes for functions manipulating sigset_t types --- diff --git a/include/signal.h b/include/signal.h index 1a9a1bd..78031e2 100644 --- a/include/signal.h +++ b/include/signal.h @@ -1,6 +1,8 @@ #ifndef __SIGNAL_H #define __SIGNAL_H +#include + #define SIGHWINT 0 /* Corax specific: hardware interrupt signal */ #define SIGHUP 1 #define SIGINT 2 @@ -104,6 +106,12 @@ typedef void (*sighandler_t)(int); extern int sigaction(int, const struct sigaction*, struct sigaction*); +extern int sigemptyset(sigset_t*); +extern int sigfillset(sigset_t*); +extern int sigaddset(sigset_t*, int); +extern int sigdelset(sigset_t*, int); +extern int sigismember(const sigset_t*, int); + #endif /* __ASSEMBLY_SOURCE */ #endif /* __SIGNAL_H */