Sign in
plan9port
/
plan9
/
44eb2088299f10d45a1b3950285c3314217e0f44
/
.
/
src
/
lib9
/
jmp.c
blob: 6f928bab3caf720b041be0cf47a1874af7df2bdf [
file
] [
log
] [
blame
]
#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
);
}