#include #include int me_first(char *s,jmp_buf env){ int i; i=setjmp(env); printf("me_first: Я возвращаю управление после вызова setjmp:%s\n",s); return i; } int i_follow(int i,jmp_buf env){ printf("i_follow: Я вызываю longjmp...\n"); longjmp(env,i); } main() { jmp_buf env; if(me_first("IC-Labs",env)!=0) exit(0); i_follow(3,env); }