exitProcess

inline fun exitProcess(status: Int): Nothing(source)

Terminates the currently running process.

Since Kotlin

1.0

Return

This method never returns normally.

Parameters

status

serves as a status code; by convention, a nonzero status code indicates abnormal termination.

external fun exitProcess(status: Int): Nothing(source)

Terminates the currently running process.

Since Kotlin

1.3

Return

This method never returns normally.

Parameters

status

serves as a status code; by convention, a nonzero status code indicates abnormal termination.