diff options
Diffstat (limited to 'src/signal/sigemptyset.c')
-rw-r--r-- | src/signal/sigemptyset.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/signal/sigemptyset.c b/src/signal/sigemptyset.c new file mode 100644 index 00000000..91f77adf --- /dev/null +++ b/src/signal/sigemptyset.c @@ -0,0 +1,8 @@ +#include <signal.h> +#include <string.h> + +int sigemptyset(sigset_t *set) +{ + memset(set, 0, sizeof *set); + return 0; +} |