Last change
on this file since 373 was 352, checked in by coas-nagasima, 6 years ago |
arm向けASP3版ECNLを追加
|
-
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 |
|
---|
4 | int 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.