|
|
1.1 root 1:
2:
3: exit Command exit
4:
5:
6:
7:
8: Exit from a noninteractive shell
9:
10: eexxiitt [_s_t_a_t_u_s]
11:
12: exit terminates a noninteractive shell sshh If the optional status
13: is specified, the shell returns it; otherwise, the previous
14: status is unchanged. From an interactive shell, exit sets the
15: status if specified, but does not terminate the shell. The shell
16: executes exit directly.
17:
18: ***** See Also *****
19:
20: commands, sh
21:
22: ***** Notes *****
23:
24: If a program leaves main() by an error condition, contents of
25: register AX becomes the exit code. Usually, these register con-
26: tents are random. If you want to test a program's return code,
27: you must to exit or return from main().
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.