[Overview][Constants][Types][Procedures and functions][Variables] |
Return parent process ID
Source position: linuxold.inc 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.