Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
6651ef1f060738ee1f50cac1fe6d8ce64c359022
/
.
/
src
/
signal
/
sigemptyset.c
blob: 1d07471da45717f92c4b7ca25b8fa4edda416828 [
file
] [
log
] [
blame
]
#include
<signal.h>
#include
<string.h>
int
sigemptyset
(
sigset_t
*
set
)
{
set
->
__bits
[
0
]
=
0
;
if
(
sizeof
(
long
)==
4
||
_NSIG
>
65
)
set
->
__bits
[
1
]
=
0
;
if
(
sizeof
(
long
)==
4
&&
_NSIG
>
65
)
{
set
->
__bits
[
2
]
=
0
;
set
->
__bits
[
3
]
=
0
;
}
return
0
;
}