1
0

sigfillset.c 251 B

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