|
|
1.1 root 1: .\" Copyright (c) 1983 Regents of the University of California.
2: .\" All rights reserved. The Berkeley software License Agreement
3: .\" specifies the terms and conditions for redistribution.
4: .\"
5: .\" @(#)exit.3f 6.1 (Berkeley) 5/15/85
6: .\"
7: .TH EXIT 3F "May 15, 1985"
8: .UC 5
9: .SH NAME
10: exit \- terminate process with status
11: .SH SYNOPSIS
12: .B subroutine exit (status)
13: .br
14: .B integer status
15: .SH DESCRIPTION
16: .I Exit
17: flushes and closes all the process's files, and notifies the parent process
18: if it is executing a
19: .IR wait .
20: The low-order 8 bits of
21: .I status
22: are available to the parent process.
23: (Therefore
24: .I status
25: should be in the range 0 \- 255)
26: .PP
27: This call will never return.
28: .PP
29: The C function
30: .I exit
31: may cause cleanup actions before the
32: final `sys exit'.
33: .SH FILES
34: .ie \nM /usr/ucb/lib/libF77.a
35: .el /usr/lib/libF77.a
36: .SH "SEE ALSO"
37: exit(2), fork(2), fork(3F), wait(2), wait(3F)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.