Standard C Functions


setjmp


Syntax

#include <setjmp.h>
int setjmp(jmp_buf env);

Arguments

env      calling environment buffer

Return Value

Zero when it is registered. When returning from the longjmp() function, it is the value 
of the argument.

Description

It saves (reserves) its calling environment in the env buffer for later use by the longjmp() function.