FpGetppid function
Return parent process ID.
Declaration
function FpGetppid: TPidDescription
FpGetppid returns the Process ID of the parent process.Errors
None.
See also
Example: ex16
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.
