Standard C Functions


longjmp


Syntax

#include <setjmp.h>
void longjmp(jmp_buf env, int value);

Arguments

env      stack environment buffer that holds the system information that was placed there by the 
         setjmp function
value    result of the setjmp() function  (if 0 is specified, it will be 1)

Return Value

None

Description

Restores the environment that was saved (reserved) by the most recently called setjmp() function.