setjmp: implement <setjmp.h>

This commit is contained in:
2024-01-12 14:22:33 +02:00
parent ffbac93115
commit b3c4e3caa9
7 changed files with 95 additions and 2 deletions
+1 -1
View File
@@ -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
+7
View File
@@ -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