☰
Debian Codegraph
@
0.0~git20260129.ec0effd-3
0.0~git20260129.ec0effd-2
/
/
libc-top-half
/
musl
/
src
/
signal
/
sigisemptyset.c
☽
☼
libc-top-half/musl/src/signal/sigisemptyset.c
code
plain
raw
MIT
2005-2019 Rich Felker <
[email protected]
>; 2005-2019 Many other contributors
debian/copyright
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
}