summaryrefslogtreecommitdiff
path: root/include/setjmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/setjmp.h')
-rw-r--r--include/setjmp.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/setjmp.h b/include/setjmp.h
new file mode 100644
index 00000000..feea9cc1
--- /dev/null
+++ b/include/setjmp.h
@@ -0,0 +1,14 @@
+#ifndef __SETJMP_H
+#define __SETJMP_H
+
+#include <bits/setjmp.h>
+
+typedef jmp_buf sigjmp_buf;
+
+_Noreturn void longjmp(jmp_buf, int);
+_Noreturn void siglongjmp(sigjmp_buf, int);
+
+int setjmp(jmp_buf);
+int sigsetjmp(sigjmp_buf, int);
+
+#endif