getppid

On Unix, returns the process id of the parent pro-
cess. Not supported on MS-DOS.