changes to kernel sigaction struct handling in preparation for mips port
[musl] / src / signal / sigfillset.c
1 #include <signal.h>
2 #include <string.h>
3 #include <limits.h>
4
5 int sigfillset(sigset_t *set)
6 {
7 #if ULONG_MAX == 0xffffffff
8         set->__bits[0] = 0x7ffffffful;
9         set->__bits[1] = 0xfffffffcul;
10 #else
11         set->__bits[0] = 0xfffffffc7ffffffful;
12 #endif
13         return 0;
14 }