|
Server : Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 System : Linux server.jackjohnson.com 2.6.32-279.5.2.el6.x86_64 #1 SMP Fri Aug 24 01:07:11 UTC 2012 x86_64 User : jackjohn ( 502) PHP Version : 5.3.17 Disable Function : NONE Directory : /usr/lib64/bcc/include/ |
Upload File : |
#ifndef __SETJMP_H
#define __SETJMP_H
#include <features.h>
/*
* I know most systems use an array of ints here, but I prefer this - RDB
*/
typedef struct
{
unsigned int pc;
unsigned int sp;
unsigned int bp;
unsigned int si;
unsigned int di;
} jmp_buf[1];
int _setjmp __P((jmp_buf env));
void _longjmp __P((jmp_buf env, int rv));
/* LATER: Seems GNU beat me to it, must be OK then :-)
* Humm, what's this about setjmp being a macro !?
* Ok, use the BSD names as normal use the ANSI as macros
*/
#define setjmp(a_env) _setjmp(a_env)
#define longjmp(a_env, a_rv) _longjmp(a_env, a_rv)
#endif