|
|
1.1 root 1: .th EXIT II 8/5/73
2: .sh NAME
3: exit \*- terminate process
4: .s3
5: .sh SYNOPSIS
6: (exit = 1.)
7: .br
8: (status in r0)
9: .br
10: .ft B
11: sys exit
12: .s3
13: exit(status)
14: .br
15: int status;
16: .ft R
17: .sh DESCRIPTION
18: .it Exit
19: is the normal means of terminating a process.
20: .it Exit
21: closes all the process' files and notifies the parent process
22: if it is executing a
23: .it wait.
24: The low byte of r0
25: (resp. the argument to
26: \fIexit\fR)
27: is available as status to the parent process.
28: .s3
29: This call can never return.
30: .sh "SEE ALSO"
31: wait(II)
32: .sh DIAGNOSTICS
33: None.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.