Function GetPid : Longint;
Get the Process ID of the currently running process.
None.
GetPPid, getpid (2)
Program Example16;
{ Program to demonstrate the GetPid, GetPPid function. }
Uses linux;
begin
Writeln ('Process Id = ',getpid,' Parent process Id = ',getppid);
end.