tjmp.c - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
tjmp.c (223B)
---
1 #include <u.h>
2 #define NOPLAN9DEFINES
3 #include <libc.h>
4
5 void
6 p9longjmp(p9jmp_buf buf, int val)
7 {
8 siglongjmp((void*)buf, val);
9 }
10
11 void
12 p9notejmp(void *x, p9jmp_buf buf, int val)
13 {
14 USED(x);
15 siglongjmp((void*)buf, val);
16 }