summaryrefslogtreecommitdiff
path: root/src/signal/sigfillset.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/signal/sigfillset.c')
-rw-r--r--src/signal/sigfillset.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/signal/sigfillset.c b/src/signal/sigfillset.c
index 4530e42a..493912b3 100644
--- a/src/signal/sigfillset.c
+++ b/src/signal/sigfillset.c
@@ -1,9 +1,11 @@
#include "sys/types.h"
#include <signal.h>
+#include "string.h"
+#include "limits.h"
int sigfillset(sigset_t * set)
{
- (void)set;
+ memset(set, UCHAR_MAX, sizeof(*set));
return 0;
}
/*