Back to index

glibc  2.9
setjmp.h
Go to the documentation of this file.
00001 #ifndef _SETJMP_H
00002 #include <setjmp/setjmp.h>
00003 
00004 /* Now define the internal interfaces.  */
00005 
00006 /* Internal machine-dependent function to restore context sans signal mask.  */
00007 extern void __longjmp (__jmp_buf __env, int __val)
00008      __attribute__ ((__noreturn__));
00009 
00010 /* Internal function to possibly save the current mask of blocked signals
00011    in ENV, and always set the flag saying whether or not it was saved.
00012    This is used by the machine-dependent definition of `__sigsetjmp'.
00013    Always returns zero, for convenience.  */
00014 extern int __sigjmp_save (jmp_buf __env, int __savemask);
00015 
00016 extern void _longjmp_unwind (jmp_buf env, int val);
00017 
00018 extern void __libc_siglongjmp (sigjmp_buf env, int val)
00019           __attribute__ ((noreturn));
00020 extern void __libc_longjmp (sigjmp_buf env, int val)
00021      __attribute__ ((noreturn));
00022 libc_hidden_proto (__libc_longjmp)
00023 
00024 libc_hidden_proto (_setjmp)
00025 libc_hidden_proto (__sigsetjmp)
00026 
00027 #endif