source: tags/minix3.1.2a-orig/minix/lib/posix/_sigsetjmp.c@ 24

Last change on this file since 24 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 214 bytes
Line 
1#include <lib.h>
2#include <sys/sigcontext.h>
3#include <setjmp.h>
4
5PUBLIC void siglongjmp(env, val)
6sigjmp_buf env;
7int 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.