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