April 3, 2002
Solution Symposium
Page 44
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