blob: 6c84b9b7859b03472fe91e8ad5575f45afa54c1d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <signal.h>
#include <string.h>
#include <limits.h>
int sigfillset(sigset_t *set)
{
#if ULONG_MAX == 0xffffffff
set->__bits[0] = 0x7ffffffful;
set->__bits[1] = 0xfffffffcul;
#else
set->__bits[0] = 0xfffffffc7ffffffful;
#endif
return 0;
}
|