Skip to content

FpExit

Exit the current process.

Declaration

Source position: bunxh.inc line 79

procedure FpExit(Status: cint);external name 'FPC_SYSC_EXIT';

Description

FpExit exits the currently running process, and report Status as the exit status.

Remark:

If this call is executed, the normal unit finalization code will not be executed. This may lead to unexpected errors and stray files on your system. It is therefore recommended to use the Halt call instead.

Errors

None.

See also

Name Description
FpFork Create child process.
FpExecve Execute process using environment.