Unix to Windows Porting Dictionary for HPC

RSS

Links

Function List

getppid


Unix

header file: unistd.h

pid_t getppid(void);

Windows

N/A

Purpose

This function returns the parent process ID.

Discussion

Windows does not provide an interface to return parent/child relationships between processes. As a result, there is no equivalent function to getppid() in Windows. However, it is possible to obtain obtain the parent process as described at http://www.codeproject.com/KB/threads/ParentPID.aspx?msg=1673927#xx1673927xx.

blog comments powered by Disqus
Valid HTML 4.01 Transitional Valid CSS!