how do you get parent process identification number
Answers
Answered by
0
Answer:
You can get the process ID of a process by calling getpid . The function getppid returns the process ID of the parent of the current process (this is also known as the parent process ID). Your program should include the header files unistd.
Explanation:
Similar questions