projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
implement hcreate_r, hdestroy_r and hsearch_r
[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
}