Menu

Reference / Process

ppid()

function
function ppid(): int

The id of the parent process.

Returns

int — the parent's process id

View source