[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'oldlinux' (#rtl)

ExitProcess

Exit the current process

Declaration

Source position: oldlinux.pp line 1353

procedure ExitProcess(

  val: LongInt

);

Description

ExitProcess exits the currently running process, and report Val 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

Fork

  

Create child process

ExecVE

  

Execute process using environment

The latest version of this document can be found at lazarus-ccr.sourceforge.net.