source:
trunk/minix/lib/posix/_sigsetjmp.c@
16
| Last change on this file since 16 was 9, checked in by , 15 years ago | |
|---|---|
| File size: 214 bytes | |
| Rev | Line | |
|---|---|---|
| [9] | 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.