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
/
sigrelse.c
1
#include <signal.h>
2
3
int sigrelse(int sig)
4
{
5
sigset_t mask;
6
7
sigemptyset(&mask);
8
if (sigaddset(&mask, sig) < 0) return -1;
9
return sigprocmask(SIG_UNBLOCK, &mask, 0);
10
}