C++ How to fetch Parent Process Id
Is there an API in the C++ (or STL) to fetch the parent process id? if not
then what could be the portable code to do so? I understand there linux
api such as getppid can do the job on unix platforms but what is
equivalent of the same on windows?
Thanks!
No comments:
Post a Comment