[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Return current process ID
Source position: oldlinux.pp line 1368
function GetPid: LongInt; |
Get the Process ID of the currently running process.
None.
|
Return parent 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 |