mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 21:42:43 +00:00 
			
		
		
		
	 98c0c5e9e6
			
		
	
	
		98c0c5e9e6
		
	
	
	
	
		
			
			The URLs of the form `help://man/<section>/<page>` link to another help page inside the help application. All previous relative page links are replaced by this new form. This doesn't change any behavior but it looks much nicer :^) Note that man doesn't handle these new links, but the previous relative links didn't work either.
		
			
				
	
	
		
			28 lines
		
	
	
	
		
			385 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
	
		
			385 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ## Name
 | |
| 
 | |
| getppid - get current process's parent process ID
 | |
| 
 | |
| ## Synopsis
 | |
| 
 | |
| ```**c++
 | |
| #include <unistd.h>
 | |
| 
 | |
| pid_t getppid();
 | |
| ```
 | |
| 
 | |
| ## Description
 | |
| 
 | |
| Returns the PID (process ID) of the parent of the calling process.
 | |
| 
 | |
| ## Return value
 | |
| 
 | |
| The process ID of the parent of the calling process.
 | |
| 
 | |
| ## Errors
 | |
| 
 | |
| None.
 | |
| 
 | |
| ## See also
 | |
| 
 | |
| * [`getpid`(2)](help://man/2/getpid)
 | |
| * [`gettid`(2)](help://man/2/gettid)
 |