[Overview][Constants][Types][Procedures and functions][Index] |
Return parent process ID
Source position: bunxh.inc line 47
function FpGetppid: TPid; |
FpGetppid returns the Process ID of the parent process.
None.
|
Return current process ID |
Program Example16; { Program to demonstrate the GetPid, GetPPid function. } Uses BaseUnix; begin Writeln ('Process Id = ',fpgetpid,' Parent process Id = ',fpgetppid); end.