about summary refs log tree commit diff
path: root/src/signal/sigfillset.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/signal/sigfillset.c')
-rw-r--r--src/signal/sigfillset.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/signal/sigfillset.c b/src/signal/sigfillset.c
new file mode 100644
index 00000000..fab50a52
--- /dev/null
+++ b/src/signal/sigfillset.c
@@ -0,0 +1,8 @@
+#include <signal.h>
+#include <string.h>
+
+int sigfillset(sigset_t *set)
+{
+	memset(set, -1, sizeof *set);
+	return 0;
+}