Last change
on this file was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
380 bytes
|
Line | |
---|
1 | /* libc/sys/linux/siglongjmp.c - siglongjmp function */ |
---|
2 | |
---|
3 | /* Copyright 2002, Red Hat Inc. */ |
---|
4 | |
---|
5 | |
---|
6 | #include <setjmp.h> |
---|
7 | #include <signal.h> |
---|
8 | #include <machine/weakalias.h> |
---|
9 | |
---|
10 | void |
---|
11 | __libc_siglongjmp (sigjmp_buf env, int val) |
---|
12 | { |
---|
13 | if (env.__is_mask_saved) |
---|
14 | sigprocmask (SIG_SETMASK, &env.__saved_mask, NULL); |
---|
15 | |
---|
16 | __libc_longjmp (env.__buf, val); |
---|
17 | } |
---|
18 | weak_alias(__libc_siglongjmp,siglongjmp); |
---|
Note: See
TracBrowser
for help on using the repository browser.