EXIT(3) — UNIX Programmer’s Manual
NAME
exit − terminate a process after flushing any pending output
SYNOPSIS
exit(status)
int status;
DESCRIPTION
Exit terminates a process after calling the Standard I/O library function _cleanup to flush any buffered output. Exit never returns.
SEE ALSO
4.2 Berkeley Distribution — May 12, 1986