Reference / Process
function ppid(): int
The id of the parent process.
int — the parent's process id
View source