HomeManualTopicsTypesSymbols

std_types::positive_integer/std::exit

terminates the process and returns the specified exit-code

Parameter

exit_code
the exit-code to return

Results

None

Description

This function does not return and therefor returns no results.

This function must be called with I/O-access rights.

It cleanly shuts down the runtime system and terminates the process.

Example

exit! EXIT_SUCCESS

Topic

Input-Output

Implements

std::exit terminates the current program or task

See also

std::EXIT_SUCCESS status code for successful termination
std::EXIT_FAILURE status code for unsuccessful termination
std::debug_exit