#include <setjmp.h>
void longjmp (
jmp_buf p,
int val
)
|
Arguments
p |
Environment storage variable |
val |
Specified return value of setjmp() |
Return Value
After a longjmp() is completed, program execution continues as if
the corresponding invocation of setjmp() had
just returned the value specified by val. longjmp() cannot cause
setjmp() to return the value 0; if val
is 0, setjmp() returns the value 1.
Explanation
The program jumps to the location specified in the environment storage
area pointed to by p which was set by a previous call to setjmp().
See Also
setjmp()
|