summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/exit.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/stdlib/exit.3')
-rw-r--r--src/lib/libc/stdlib/exit.311
1 files changed, 5 insertions, 6 deletions
diff --git a/src/lib/libc/stdlib/exit.3 b/src/lib/libc/stdlib/exit.3
index 326c5539a8..a17c1805f2 100644
--- a/src/lib/libc/stdlib/exit.3
+++ b/src/lib/libc/stdlib/exit.3
@@ -33,7 +33,7 @@
33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34.\" SUCH DAMAGE. 34.\" SUCH DAMAGE.
35.\" 35.\"
36.\" $OpenBSD: exit.3,v 1.3 1999/02/27 21:55:55 deraadt Exp $ 36.\" $OpenBSD: exit.3,v 1.4 2000/04/20 13:50:02 aaron Exp $
37.\" 37.\"
38.Dd June 29, 1991 38.Dd June 29, 1991
39.Dt EXIT 3 39.Dt EXIT 3
@@ -46,8 +46,9 @@
46.Ft void 46.Ft void
47.Fn exit "int status" 47.Fn exit "int status"
48.Sh DESCRIPTION 48.Sh DESCRIPTION
49The
49.Fn exit 50.Fn exit
50terminates a process. 51function terminates a process.
51.Pp 52.Pp
52Before termination it performs the following functions in the 53Before termination it performs the following functions in the
53order listed: 54order listed:
@@ -68,8 +69,7 @@ function.
68.Sh RETURN VALUES 69.Sh RETURN VALUES
69The 70The
70.Fn exit 71.Fn exit
71function 72function never returns.
72never returns.
73.Sh SEE ALSO 73.Sh SEE ALSO
74.Xr _exit 2 , 74.Xr _exit 2 ,
75.Xr atexit 3 , 75.Xr atexit 3 ,
@@ -78,6 +78,5 @@ never returns.
78.Sh STANDARDS 78.Sh STANDARDS
79The 79The
80.Fn exit 80.Fn exit
81function 81function conforms to
82conforms to
83.St -ansiC . 82.St -ansiC .