Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
2f437040e7911d9bef239588ea7ed6f4b9102922
/
.
/
src
/
signal
/
siglongjmp.c
blob: e9a6131417de5624662c6d899f74d1d0de5c527b [
file
] [
log
] [
blame
]
#include
<setjmp.h>
#include
<signal.h>
#include
<stdlib.h>
#include
"syscall.h"
void
siglongjmp
(
sigjmp_buf buf
,
int
ret
)
{
if
(
buf
->
__fl
)
__syscall
(
SYS_rt_sigprocmask
,
SIG_SETMASK
,
buf
->
__ss
,
0
,
__SYSCALL_SSLEN
);
longjmp
(
buf
->
__jb
,
ret
);
}