
February 10, 2001
Solution Symposium
Page 43
hp e3000
programming
and posix
process management -
getpid()/getppid()
• int getpid (void)
• returns the POSIX PID of the calling process
• pid_t getppid (void);
• returns the POSIX PID of the parent of the calling
process