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