Sign in
cobalt
/
cobalt
/
25902c6cb1ab9cfd8ae2ee6b0fb52953f73deda5
/
.
/
third_party
/
musl
/
src
/
signal
/
sigsetjmp_tail.c
blob: f2aa28878e47f064003ec072fce86e5b9c886ffd [
file
] [
log
] [
blame
]
#include
<setjmp.h>
#include
<signal.h>
#include
"syscall.h"
hidden
int
__sigsetjmp_tail
(
sigjmp_buf jb
,
int
ret
)
{
void
*
p
=
jb
->
__ss
;
__syscall
(
SYS_rt_sigprocmask
,
SIG_SETMASK
,
ret
?
p
:
0
,
ret
?
0
:
p
,
_NSIG
/
8
);
return
ret
;
}