Various additions and fixes.
This commit is contained in:
parent
74f990ad84
commit
fd04aacee1
57 changed files with 2176 additions and 159 deletions
17
src/lib9/jmp.c
Normal file
17
src/lib9/jmp.c
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#include <u.h>
|
||||
#define NOPLAN9DEFINES
|
||||
#include <libc.h>
|
||||
|
||||
void
|
||||
p9longjmp(p9jmp_buf buf, int val)
|
||||
{
|
||||
siglongjmp((void*)buf, val);
|
||||
}
|
||||
|
||||
void
|
||||
p9notejmp(void *x, p9jmp_buf buf, int val)
|
||||
{
|
||||
USED(x);
|
||||
siglongjmp((void*)buf, val);
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue