in reply to Re: Re: Parent process namein thread Parent process name
An easier way to get the parent process ID would be to call the getppid() function.