Interim commit, compiles. We need to bring in support code now.
[akaros.git] / kern / include / setjmp.h
1 // Kernel implementations for setjmp/longjmp.
2
3 #ifndef ROS_SETJMP_H
4 #define ROS_SETJMP_H
5
6 #include <arch/setjmp.h>
7
8 int setjmp(struct jmpbuf *env) __attribute__((returns_twice));
9 void longjmp(struct jmpbuf *env, void * val) __attribute__((noreturn));
10
11 #endif /* !ROS_SETJMP_H */