Mwnci getppid() Function

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