projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove useless __yield alias for sched_yield
[oweals/musl.git]
/
src
/
signal
/
sigemptyset.c
1
#include <signal.h>
2
#include <string.h>
3
4
int sigemptyset(sigset_t *set)
5
{
6
set->__bits[0] = 0;
7
if (sizeof(long)==4 || _NSIG > 65) set->__bits[1] = 0;
8
if (sizeof(long)==4 && _NSIG > 65) {
9
set->__bits[2] = 0;
10
set->__bits[3] = 0;
11
}
12
return 0;
13
}