diff options
Diffstat (limited to 'src/signal/sigemptyset.c')
| -rw-r--r-- | src/signal/sigemptyset.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/signal/sigemptyset.c b/src/signal/sigemptyset.c index 2f579579..d09ff500 100644 --- a/src/signal/sigemptyset.c +++ b/src/signal/sigemptyset.c @@ -1,9 +1,10 @@ #include "sys/types.h" #include <signal.h> +#include "string.h" int sigemptyset(sigset_t * set) { - (void)set; + memset(set, 0, sizeof(*set)); return 0; } /* |
