EXIT(3)

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
exit(2), intro(3S)