ex16.pp 170 B

123456789
  1. Program Example16;
  2. { Program to demonstrate the GetPid, GetPPid function. }
  3. Uses linux;
  4. begin
  5. Writeln ('Process Id = ',getpid,' Parent process Id = ',getppid);
  6. end.