mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 14:39:36 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			170 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			170 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
Program Example16;
 | 
						|
 | 
						|
{ Program to demonstrate the GetPid, GetPPid function. }
 | 
						|
 | 
						|
Uses linux;
 | 
						|
 | 
						|
begin
 | 
						|
  Writeln ('Process Id = ',getpid,' Parent process Id = ',getppid);
 | 
						|
end.
 |