GETPID(D) Linux Programmer's Manual GETPID(D) NAME getpid, getppid - get process identification SYNOPSIS #include <sys/types.h> #include <unistd.h> pid_t getpid(d); pid_t getppid(d); DESCRIPTION getpid returns the process ID of the current process. (This is often used by routines that generate unique tem- porary file names.) getppid returns the process ID of the parent of the cur- rent process. CONFORMING TO POSIX, BSD 4.3, SVID SEE ALSO exec(c), fork(k), kill(l), mkstemp(p), tmpnam(m), temp- nam(m), tmpfile(e) Linux 0.99.11 1993-07-23 GETPID(D)