|
NAMEsigsetjmp , siglongjmp ,
setjmp , longjmp ,
_setjmp , _longjmp ,
longjmperror —
non-local jumps
LIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <setjmp.h>
int
void
int
void
int
void
void
DESCRIPTIONThesigsetjmp (), setjmp (), and
_setjmp () functions save their calling environment in
env. Each of these functions returns 0.
The corresponding Pairs of calls may be intermixed, i.e., both
The All accessible objects have values as of the time
The
The
ERRORSIf the contents of the env are corrupted, or correspond to an environment that has already returned, thelongjmp () routine calls the routine
longjmperror (3). If
longjmperror () returns the program is aborted (see
abort(3)).
The default version of longjmperror () prints the
message “longjmp botch ” to standard
error and returns. User programs wishing to exit more gracefully should write
their own versions of longjmperror ().
SEE ALSOsigaction(2), sigaltstack(2), signal(3)STANDARDSThesetjmp () and longjmp ()
functions conform to ISO/IEC 9899:1990
(“ISO C90”). The
sigsetjmp () and siglongjmp ()
functions conform to IEEE Std 1003.1-1988
(“POSIX.1”).
Visit the GSP FreeBSD Man Page Interface. |