Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
6651ef1f060738ee1f50cac1fe6d8ce64c359022
/
.
/
src
/
signal
/
sigprocmask.c
blob: 297e20c65f825c64d0b63bf4500595aa126e3642 [
file
] [
log
] [
blame
]
#include
<signal.h>
#include
<errno.h>
int
sigprocmask
(
int
how
,
const
sigset_t
*
restrict
set
,
sigset_t
*
restrict old
)
{
int
r
=
pthread_sigmask
(
how
,
set
,
old
);
if
(!
r
)
return
r
;
errno
=
r
;
return
-
1
;
}