NAME
exit − terminate a process after flushing any pending output
SYNTAX
exit(status)
int status;
DESCRIPTION
The exit function terminates a process after calling the Standard I/O library function, _cleanup, to flush any buffered output. The exit function never returns.
SEE ALSO
exit(2), intro(3s)