home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V6 / usr / man / man3 / reset.3 < prev    next >
Encoding:
Text File  |  1975-06-26  |  735 b   |  40 lines

  1. .th RESET III 5/10/73
  2. .sh NAME
  3. reset, setexit \*- execute non-local goto
  4. .sh SYNOPSIS
  5. .ft B
  6. .bd "setexit( )"
  7. .s3
  8. .bd "reset( )"
  9. .ft R
  10. .sh DESCRIPTION
  11. These routines are useful for dealing with errors 
  12. and interrupts encountered in
  13. a low-level subroutine of a program.
  14. .s3
  15. .it Setexit
  16. saves its stack environment in a static place for
  17. later use by
  18. .it reset.
  19. .s3
  20. .it Reset
  21. restores the environment saved by the last call of
  22. .it setexit.
  23. It then returns in such a way that execution
  24. continues as if the call of 
  25. .it setexit
  26. had just returned.
  27. All accessible data have values as of the
  28. time 
  29. .it reset 
  30. was called.
  31. .s3
  32. The routine that called
  33. .it setexit
  34. must still be active when
  35. .it reset
  36. is called.
  37. .sh "SEE ALSO"
  38. signal (II)
  39. .sh BUGS
  40.