Syntax
getppid()
Description
The getppid() function returns the process id of the caller’s parent.
Example
println("This programs parent PID = ", getppid()) This programs parent PID = 31260
getppid()
The getppid() function returns the process id of the caller’s parent.
println("This programs parent PID = ", getppid()) This programs parent PID = 31260