in reply to Re: getppid() returns cached value
in thread getppid() returns cached value
It is probably returning the cached value of Parent PID.My PID is 24958 My PPID is 24958 after my parent is killed
My PID is 25020 My PPID is 1 after my parent is killed
|
|---|