man(1) Manual page archive


NAME
     reset, setexit - execute non-local goto

SYNOPSIS
     setexit( )

     reset( )

DESCRIPTION
     These routines are useful for dealing with errors and inter-
     rupts encountered in a low-level subroutine of a program.

     Setexit saves its stack environment in a static place for
     later use by reset.

     Reset restores the environment saved by the last call of
     setexit.  It then returns in such a way that execution con-
     tinues as if the call of setexit had just returned.  All
     accessible data have values as of the time reset was called.

     The routine that called setexit must still be active when
     reset is called.

SEE ALSO
     signal (II)

BUGS

 1