File:  [CSRG BSD Unix] / 43BSDTahoe / man / man3f / exit.3
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:58 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43tahoe
BSD 4.3tahoe

.\" Copyright (c) 1983 Regents of the University of California.
.\" All rights reserved.  The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\"	@(#)exit.3f	6.1 (Berkeley) 5/15/85
.\"
.TH EXIT 3F "May 15, 1985"
.UC 5
.SH NAME
exit \- terminate process with status
.SH SYNOPSIS
.B subroutine exit (status)
.br
.B integer status
.SH DESCRIPTION
.I Exit
flushes and closes all the process's files, and notifies the parent process
if it is executing a
.IR wait .
The low-order 8 bits of 
.I status
are available to the parent process.
(Therefore
.I status
should be in the range 0 \- 255)
.PP
This call will never return.
.PP
The C function
.I exit
may cause cleanup actions before the
final `sys exit'.
.SH FILES
.ie \nM /usr/ucb/lib/libF77.a
.el /usr/lib/libF77.a
.SH "SEE ALSO"
exit(2), fork(2), fork(3F), wait(2), wait(3F)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.