source:
trunk/minix/lib/posix/_sigsetjmp.c@
15
Last change on this file since 15 was 9, checked in by , 14 years ago | |
---|---|
File size: 214 bytes |
Line | |
---|---|
1 | #include <lib.h> |
2 | #include <sys/sigcontext.h> |
3 | #include <setjmp.h> |
4 | |
5 | PUBLIC void siglongjmp(env, val) |
6 | sigjmp_buf env; |
7 | int val; |
8 | { |
9 | if (env[0].__flags & SC_SIGCONTEXT) |
10 | longjmp(env, val); |
11 | else |
12 | _longjmp(env, val); |
13 | } |
Note:
See TracBrowser
for help on using the repository browser.