apply hidden visibility to stdio internals
[musl.git] / src / signal / sigisemptyset.c
blob68b8662468eedf54e1e5c7f8695ab78fe7cd2b0e
1 #define _GNU_SOURCE
2 #include <signal.h>
3 #include <string.h>
5 int sigisemptyset(const sigset_t *set)
7 for (size_t i=0; i<_NSIG/8/sizeof *set->__bits; i++)
8 if (set->__bits[i]) return 0;
9 return 1;