summaryrefslogtreecommitdiff
path: root/src/signal/sigemptyset.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-13 19:31:50 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-13 19:31:50 -0400
commit17130d83b48ce257ed9bc5bb2898d44c01ab82c0 (patch)
tree24b70d54588065d0ef1316c241d0fb45770db711 /src/signal/sigemptyset.c
parentc7c53812b45f2ba0689fc5c797292d188f66c3b2 (diff)
basic implementation
Diffstat (limited to 'src/signal/sigemptyset.c')
-rw-r--r--src/signal/sigemptyset.c3
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;
}
/*