help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Procedures and functions][Variables] Reference for unit 'oldlinux' (#rtl)

GetPPid

Return parent process ID

Declaration

Source position: oldlinux.pp line 1369

function GetPPid: LongInt;

Description

Get the Process ID of the parent process.

Errors

None.

See also

GetPid

  

Return current process ID

Example

Program Example16;

{ Program to demonstrate the GetPid, GetPPid function. }

Uses oldlinux;

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

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505