c/program/ Exit

Causes normal program termination to occur without completely cleaning the resources.

Functions passed to at_quick_exit or atexit are not called. Whether open streams with unwritten buffered data are flushed, open streams are closed, or temporary files are removed is implementation-defined.

If is 0 or exit_success, an implementation-defined status indicating successful termination is returned to the host environment. If is exit_failure, an implementation-defined status, indicating unsuccessful termination, is returned. In other cases an implementation-defined status value is returned.

Return value
(none)