Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
6651ef1f060738ee1f50cac1fe6d8ce64c359022
/
.
/
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
);
}