COHERENT manpages
This page displays the COHERENT manpage for getppid() [Get process identifier of parent process].
List of available manpages
Index
getppid() -- System Call (libc) Get process identifier of parent process #include <unistd.h> getppid() Every process has a unique number, called its process id. fork() returns the process id of a created child process to the parent process. getppid() returns the process id of the requesting process's parent process. In this way, a wayward child process can discover the identity of its parent. See Also fork(), getpid(), kill, libc, mktemp, unistd.h POSIX Standard, §4.1.1