system.getppid

Synopsis

local system = require "system"
system.getppid() -> integer

Description

Returns the parent process ID of the calling process.