1998-09-07 01:45:24 +02:00
|
|
|
#ifndef _SETJMP_H
|
1995-02-18 02:27:10 +01:00
|
|
|
#include <setjmp/setjmp.h>
|
1998-08-09 19:39:48 +02:00
|
|
|
|
2012-02-26 05:18:39 +01:00
|
|
|
#ifndef _ISOMAC
|
1998-08-09 19:39:48 +02:00
|
|
|
/* Now define the internal interfaces. */
|
|
|
|
|
|
|
|
/* Internal machine-dependent function to restore context sans signal mask. */
|
1999-11-23 18:31:31 +01:00
|
|
|
extern void __longjmp (__jmp_buf __env, int __val)
|
1998-08-09 19:39:48 +02:00
|
|
|
__attribute__ ((__noreturn__));
|
|
|
|
|
|
|
|
/* Internal function to possibly save the current mask of blocked signals
|
|
|
|
in ENV, and always set the flag saying whether or not it was saved.
|
|
|
|
This is used by the machine-dependent definition of `__sigsetjmp'.
|
|
|
|
Always returns zero, for convenience. */
|
1999-11-23 18:31:31 +01:00
|
|
|
extern int __sigjmp_save (jmp_buf __env, int __savemask);
|
2000-12-05 18:34:28 +01:00
|
|
|
|
|
|
|
extern void _longjmp_unwind (jmp_buf env, int val);
|
|
|
|
|
2002-08-21 10:08:03 +02:00
|
|
|
extern void __libc_siglongjmp (sigjmp_buf env, int val)
|
2012-02-26 05:18:39 +01:00
|
|
|
__attribute__ ((noreturn));
|
2002-08-21 10:08:03 +02:00
|
|
|
extern void __libc_longjmp (sigjmp_buf env, int val)
|
|
|
|
__attribute__ ((noreturn));
|
2002-12-31 10:46:42 +01:00
|
|
|
libc_hidden_proto (__libc_longjmp)
|
2000-12-27 21:25:30 +01:00
|
|
|
|
2002-12-31 10:36:52 +01:00
|
|
|
libc_hidden_proto (_setjmp)
|
2003-08-31 20:10:47 +02:00
|
|
|
libc_hidden_proto (__sigsetjmp)
|
2012-02-26 05:18:39 +01:00
|
|
|
#endif
|
2002-12-31 10:36:52 +01:00
|
|
|
|
1998-09-07 01:45:24 +02:00
|
|
|
#endif
|