source: azure_iot_hub/trunk/musl-1.1.18/src/signal/sigfillset.c@ 389

Last change on this file since 389 was 389, checked in by coas-nagasima, 5 years ago

ビルドが通るよう更新

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-csrc;charset=UTF-8
File size: 375 bytes
Line 
1#include <signal.h>
2#include <limits.h>
3
4int sigfillset(sigset_t *set)
5{
6#if ULONG_MAX == 0xffffffff
7 set->__bits[0] = 0x7ffffffful;
8 set->__bits[1] = 0xfffffffcul;
9 if (_NSIG > 65) {
10 set->__bits[2] = 0xfffffffful;
11 set->__bits[3] = 0xfffffffful;
12 }
13#else
14 set->__bits[0] = 0xfffffffc7ffffffful;
15 if (_NSIG > 65) set->__bits[1] = 0xfffffffffffffffful;
16#endif
17 return 0;
18}
Note: See TracBrowser for help on using the repository browser.