date and time created 89/02/14 20:32:54 by bostic
[unix-history] / usr / src / lib / libc / stdlib / exit.3
CommitLineData
668ef77e
KM
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.\"
8220ec5a 5.\" @(#)exit.3 6.2 (Berkeley) %G%
668ef77e 6.\"
2d5a7847 7.TH EXIT 3 ""
668ef77e
KM
8.UC 5
9.SH NAME
10exit \- terminate a process after flushing any pending output
11.SH SYNOPSIS
12.nf
13.ft B
14exit(status)
15int status;
16.fi
17.SH DESCRIPTION
18.I Exit
19terminates a process after calling the Standard I/O library
20function
21.I _cleanup
22to flush any buffered output.
23.I Exit
24never returns.
25.SH "SEE ALSO"
8220ec5a 26exit(2), intro(3)