![]() |
longjmp | Function (ROM Call 0x267) |
setjmp.h |
void longjmp (void *j_buf, short ret_val); |
Performs nonlocal goto.
A call to longjmp restores the task state captured by the last call to
setjmp with the argument j_buf. It then
returns in such a way that setjmp appears to have
returned with the value ret_val. j_buf is usually a
buffer of type JMP_BUF. See
setjmp for more info.
Note: longjmp should not be called with a value 0 as ret_val.