EXIT(3) — UNIX Programmer’s Manual
NAME
exit − terminate a process after flushing any pending output
SYNOPSIS
void exit(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 — August 1, 1992