ExitProcess v0.1.0

Source
Terminates the calling process and all of its threads.

Package: Windows

Microsoft documentation: ExitProcess

Signature

func ExitProcess(exitCode: uint32);

Parameters

NameTypeDescription
exitCodeuint32Status reported for the process.

Description

ExitProcess does not return. Normal stack unwinding and cleanup in the caller do not occur. Prefer returning from Main for normal termination.

See also