[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Return parent process ID
Source position: oldlinux.pp line 1369
function GetPPid: LongInt; |
Get the Process ID of the parent process.
None.
|
Return current process ID |
Program Example16; { Program to demonstrate the GetPid, GetPPid function. } Uses oldlinux; begin Writeln ('Process Id = ',getpid,' Parent process Id = ',getppid); end.
lazarus-ccr.sourceforge.net |