Guardian Native C Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

longjmp(3) Guardian Native C Library Calls Reference Manual
This condition might also cause unexpected process termination. If the procedure has been
exited, the results are unpredictable.
RETURN VALUES
After the longjmp() function is finished, program execution continues as if the corresponding
call of the setjmp() function had just returned the value specified by the value parameter. The
longjmp( ) function cannot cause the setjmp( ) function to return the value 0 (zero); if value is 0,
the setjmp() function returns the value 1.
ERRORS
The longjmp() function never sets the value of errno. Instead, if the call is unsuccessful, an
undefined signal that cannot be caught, blocked, or ignored is delivered to the calling process.
If the env parameter was saved using the sigsetjmp( ) function instead of the setjmp( ) function, a
SIGABRT signal is delivered to terminate the process.
RELATED INFORMATION
Functions: setjmp(3), sigaction(2), siglongjmp(3), sigprocmask(2), sigsetjmp(3), sig-
suspend(2).
468 Hewlett-Packard Company 527192-018