- Function
Non local goto.
- Header
- Declaration
void __fastcall__ longjmp (jmp_buf buf, int retval);
- Description
The
longjmp
function restores a program context from the data inbuf
, which must have been set by a preceeding call tosetjmp
. Program execution continues as if the call tosetjmp
has just returned the valueretval
.- Limits
- If the parameter
retval
is zero, the function will behave as if it was called with a value of one.- The function is only available as fastcall function, so it may only be used in presence of a prototype.
- Availability
ISO 9899
- See also
- Example
None.