#include #include #include void a(); void b(); void c(); jmp_buf buf1,buf2,buf3; void a() { b(); longjmp(buf1,1); } void b() { c(); } void c() { if(setjmp(buf1)==0) return; else printf("back \n"); } int main() { a(); return 0; }