ex16.pp 173 B

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