Returns the parent's process ID.
Syntax | 
  | 
   #include <sys/types.h>
   #include <unistd.h>
   pid_t getppid (void);
  | 
Parameters | 
  | 
None.
Return Values | 
  | 
The parent process ID of the calling process.
Description | 
  | 
The getppid() function returns the parent process ID of the calling process.
Implementation Considerations | 
  | 
None.
Errors | 
  | 
None.
See Also | 
  | 
getpid(), execl(), execv(), fork(), kill(), POSIX.1 (Section 4.1.1)