Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
6651ef1f060738ee1f50cac1fe6d8ce64c359022
/
.
/
src
/
signal
/
sigrelse.c
blob: b4c5a00f15615d3ddd8edd78eb61adfac85fe58e [
file
] [
log
] [
blame
]
#include
<signal.h>
int
sigrelse
(
int
sig
)
{
sigset_t
mask
;
sigemptyset
(&
mask
);
if
(
sigaddset
(&
mask
,
sig
)
<
0
)
return
-
1
;
return
sigprocmask
(
SIG_UNBLOCK
,
&
mask
,
0
);
}