/sys/doc/ Documentation archive



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 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 se-
     texit.  It then returns in such a way that execution contin-
     ues as if the call of setexit had just returned.  All acces-
     sible 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 -