Sign in
cobalt
/
cobalt
/
07081467c3d00b04a6a1162e0566a5a8b9cfe2d5
/
.
/
third_party
/
musl
/
src
/
signal
/
sigisemptyset.c
blob: 68b8662468eedf54e1e5c7f8695ab78fe7cd2b0e [
file
] [
log
] [
blame
]
#define
_GNU_SOURCE
#include
<signal.h>
#include
<string.h>
int
sigisemptyset
(
const
sigset_t
*
set
)
{
for
(
size_t
i
=
0
;
i
<
_NSIG
/
8
/
sizeof
*
set
->
__bits
;
i
++)
if
(
set
->
__bits
[
i
])
return
0
;
return
1
;
}