getppid - get process identification
#include <sys/types.h> #include <unistd.h>
pid_t getppid(void);
getppid(2) returns the process ID of the parent of the current process.
POSIX, BSD 4.3, SVID
exec(3), fork(2), kill(2), mkstemp(3), tmpnam(3), tempnam(3), tmpfile(3)
3 pages link to getppid(2):