RESET(III)                   5/10/73                   RESET(III)







NAME

     reset, setexit - execute non-local goto



SYNOPSIS

     setexit( )



     reset( )



DESCRIPTION

     These routines  are  useful  for  dealing  with  errors  and

     interrupts  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

     continues 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