longjmp
second return from
Synopsis
#include <setjmp.h>
void longjmp(jmp_buf env, int return_val);
Description
The
function causes the program to execute a second return from
longjmp
the place where
argument).
The
function takes as its arguments a jump buffer that contains
longjmp
the context at the time of the original call to
ger,
return_val
Otherwise,
setjmp
If
was not initialized through a previous call to
env
that called
setjmp
automatic variables that are local to the original function calling
that do not have
value prior to the
Error Conditions
The
function does not return an error condition.
longjmp
Example
#include <setjmp.h>
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
setjmp
was called (with the same
setjmp (env)
, which
returns if
setjmp
returns a 1.
has since returned, the behavior is undefined. Also,
qualified type, and that have changed their
volatile-
call, have indeterminate value.
longjmp
C/C++ Run-Time Library
jmp_buf
. It also takes an inte-
setjmp
is non-zero.
return_val
or the function
setjmp
,
setjmp
3-91
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?
Questions and answers