Sign in
cobalt
/
cobalt
/
07081467c3d00b04a6a1162e0566a5a8b9cfe2d5
/
.
/
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
);
}