1: # include "../unix.h"
2:
3: /*
4: ** RESET -- non-local goto
5: **
6: ** In version seven of UNIX, this routine fakes the
7: ** version six "reset" call.
8: **
9: ** Parameters:
10: ** val -- the value to return.
11: **
12: ** Returns:
13: ** NON-LOCAL!
14: **
15: ** Side Effects:
16: ** Mucho stack deallocation, etc.
17: **
18: ** Requires:
19: ** longjmp()
20: **
21: ** History:
22: ** 8/15/79 (eric) (6.2/7) -- created.
23: */
24:
25: # ifdef xV7_UNIX
26:
27:
28: jmp_buf Sx_buf;
29:
30: reset(val)
31: int val;
32: {
33: longjmp(Sx_buf, val);
34: }
35: # endif
Defined functions
reset
defined in line
30; used 10 times
Defined variables