summaryrefslogtreecommitdiff
path: root/tool/headers/arm/setjmp.h
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-03-06 17:26:18 +0000
committerJay Freeman <saurik@saurik.com>2008-03-06 17:26:18 +0000
commit294906ee694d21bb40a5ddc71d1cdb6278455f83 (patch)
tree15d1c6482bc2fedbabbea5002290db240f84c779 /tool/headers/arm/setjmp.h
parent67d8a376ae087b3668b96f1affbab031827662cd (diff)
Committing all the headers I changed.
git-svn-id: http://svn.telesphoreo.org/trunk@161 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'tool/headers/arm/setjmp.h')
-rw-r--r--tool/headers/arm/setjmp.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/tool/headers/arm/setjmp.h b/tool/headers/arm/setjmp.h
new file mode 100644
index 000000000..6b74bccda
--- /dev/null
+++ b/tool/headers/arm/setjmp.h
@@ -0,0 +1,23 @@
+#ifndef _BSD_ARM_SETJMP_H_
+#define _BSD_ARM_SETJMP_H_
+
+#define _JBLEN 32
+typedef int jmp_buf[_JBLEN];
+typedef int sigjmp_buf[_JBLEN + 1];
+
+int setjmp(jmp_buf env);
+void longjmp(jmp_buf env, int val);
+
+#ifndef _ANSI_SOURCE
+int _setjmp(jmp_buf env);
+void _longjmp(jmp_buf, int val);
+int sigsetjmp(sigjmp_buf env, int val);
+void siglongjmp(sigjmp_buf env, int val);
+#endif
+
+#if !defined(_ANSI_SOURCE) && !defined(_POSIX_C_SOURCE)
+void longjmperror(void);
+#endif
+
+#endif
+