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

system.getresgid

Synopsis

local system = require "system"
system.getresgid() -> integer, integer, integer

Description

Returns the real GID, the effective GID, and the saved set-group-ID of the calling process, respectively.