Sign in Join
FPDoc Onlineexperiment

FpGetppid function

In unit BaseUnix

Return parent process ID.

Declaration

pascal
function FpGetppid: TPid

Description

FpGetppid returns the Process ID of the parent process.

Errors

None.

See also

Example: ex16

pascal
Program Example16;

{ Program to demonstrate the GetPid, GetPPid function. }

Uses BaseUnix;

begin
  Writeln ('Process Id = ',fpgetpid,' Parent process Id = ',fpgetppid);
end.

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