manual page first distributed with 4.2BSD
[unix-history] / usr / src / lib / libc / stdlib / exit.3
.\" 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.3 5.1 (Berkeley) %G%
.\"
.TH EXIT 3 "1 April 1983"
.UC 5
.SH NAME
exit \- terminate a process after flushing any pending output
.SH SYNOPSIS
.nf
.ft B
exit(status)
int status;
.fi
.SH DESCRIPTION
.I Exit
terminates a process after calling the Standard I/O library
function
.I _cleanup
to flush any buffered output.
.I Exit
never returns.
.SH "SEE ALSO"
exit(2), intro(3S)