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