setjmp: implement <setjmp.h>
This commit is contained in:
+1
-1
@@ -8,6 +8,6 @@
|
||||
} \
|
||||
} while(0)
|
||||
|
||||
extern _Noreturn void __assert_fail(const char *file, int line, const char *message);
|
||||
[[noreturn]] void __assert_fail(const char *file, int line, const char *message);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
#ifndef _YGGDRASIL_SETJMP_H
|
||||
#define _YGGDRASIL_SETJMP_H 1
|
||||
|
||||
int setjmp(jmp_buf env);
|
||||
[[noreturn]] void longjmp(jmp_buf env, int val);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user