Sign in Join
FPDoc Onlineexperiment

FpExit procedure

In unit BaseUnix

Exit the current process.

Declaration

pascal
procedure FpExit(Status: cint)

Description

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

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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.