For the latest stable version, please use Emilua API 0.10!

system.getsid

Synopsis

local system = require "system"
system.getsid(pid: integer) -> integer

Description

See getsid(3).