source: trunk/minix/lib/posix/_sigsetjmp.c@ 15

Last change on this file since 15 was 9, checked in by Mattia Monga, 14 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.