next up previous contents index
Next: GetPriority Up: Functions and procedures Previous: GetPid

GetPPid

   

Declaration:

Function GetPPid : Longint;

Description:

Get the Process ID of the parent process.

Errors:

None.

See also:

GetPid, getppid (2)

Example
Program Example16;

{ Program to demonstrate the GetPid, GetPPid function. }

Uses linux;

begin
  Writeln ('Process Id = ',getpid,' Parent process Id = ',getppid);
end.



Michael Van Canneyt
Thu Sep 10 13:59:33 CEST 1998