summaryrefslogtreecommitdiff
path: root/setjmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'setjmp.c')
-rw-r--r--setjmp.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/setjmp.c b/setjmp.c
new file mode 100644
index 0000000..306868f
--- /dev/null
+++ b/setjmp.c
@@ -0,0 +1,7 @@
+#include <assert.h>
+#include <setjmp.h>
+
+void __longjmp_chk(jmp_buf env, int val)
+{
+ longjmp(env, val);
+}