5 Copyright (C) 1995-2001, The AROS Development Team. All rights reserved.
8 Desc: ANSI-C header file setjmp.h
12 #include <sys/cdefs.h>
20 #elif __powerpc__ || __ppc__
24 typedef struct __jmp_buf
26 unsigned long retaddr
;
27 unsigned long regs
[_JMPLEN
];
30 #if !defined(_ANSI_SOURCE)
31 typedef struct __sigjmp_buf
33 unsigned long retaddr
;
34 unsigned long regs
[_JMPLEN
];
36 #endif /* !_ANSI_SOURCE */
40 int setjmp (jmp_buf env
);
41 void longjmp (jmp_buf env
, int val
) __noreturn
;
43 #if __BSD_VISIBLE || __POSIX_VISIBLE || __XSI_VISIBLE
45 /* NOTIMPL void siglongjmp(sigjmp_buf, int) __noreturn ; */
46 /* NOTIMPL int sigsetjmp(sigjmp_buf, int); */
48 /* NOTIMPL void _longjmp(jmp_buf, int) __noreturn ; */
49 /* NOTIMPL int _setjmp(jmp_buf); */
51 #endif /* __BSD_VISIBLE || __POSIX_VISIBLE || __XSI_VISIBLE */
55 #endif /* _SETJMP_H_ */