SilverScreen Solid Modeler

setjmp

setjmp

Previous topic Next topic  

setjmp

Previous topic Next topic JavaScript is required for the print function  

StandardCLibrary

 

int setjmp( jmp_buf env )

 

jmp_buf env;        /* saved environment buffer */

 

 

 




Synopsis

#include "setjmp.h"

 

The setjmp function stores the current execution context into env .

 

 

Parameters

env is the address of a "jump buffer", into which the current execution environment is stored.

 

 

Return Value

setjmp always returns 0 directly. However, a subsequent call to longjmp with the same jump buffer may be used to restore the saved execution context (i.e. returns control to the point after setjmp was called). If setjmp returns as a result of a call to longjmp , then it returns the val argument to longjmp .

 

 

See Also

longjmp