Luna/libs/libc/src/setjmp.cpp

15 lines
231 B
C++
Raw Normal View History

#include <luna.h>
#include <setjmp.h>
extern "C"
{
2022-10-17 19:22:18 +00:00
int sigsetjmp(sigjmp_buf env, int)
{
2022-10-17 19:22:18 +00:00
return setjmp(env);
}
2022-10-17 19:22:18 +00:00
__lc_noreturn void siglongjmp(sigjmp_buf env, int val)
{
2022-10-17 19:22:18 +00:00
longjmp(env, val);
}
}