repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
apply hidden visibility to stdio internals
[musl.git]
/
src
/
signal
/
sigisemptyset.c
blob
68b8662468eedf54e1e5c7f8695ab78fe7cd2b0e
1
#define _GNU_SOURCE
2
#include <signal.h>
3
#include <string.h>
4
5
int
sigisemptyset
(
const
sigset_t
*
set
)
6
{
7
for
(
size_t
i
=
0
;
i
<
_NSIG
/
8
/
sizeof
*
set
->
__bits
;
i
++)
8
if
(
set
->
__bits
[
i
])
return
0
;
9
return
1
;
10
}