aboutsummaryrefslogtreecommitdiff
path: root/src/lib9/jmp.c
blob: 5ec21e7f26b8dfdf1b9e87b40e0eb286a58932af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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);
}