Sign in
cobalt
/
cobalt
/
5864f47b864e8bb7b417f15981009ad93bdff2ac
/
.
/
third_party
/
musl
/
src
/
signal
/
sigpause.c
blob: 363d2fec27f9cc720cbbef0236061b4bd0c2159a [
file
] [
log
] [
blame
]
#include
<signal.h>
int
sigpause
(
int
sig
)
{
sigset_t
mask
;
sigprocmask
(
0
,
0
,
&
mask
);
sigdelset
(&
mask
,
sig
);
return
sigsuspend
(&
mask
);
}