standard.C.io.filegid

filegid is available since version 1.0.

Prototype:

number filegid(string path)

Parameters

path
[in] A string containing the path of existing file.

Description:

Gets the group id of the owner of a file. Is equivalent to the _stat function as this: _stat(path)["st_gid"].

Return value:

Returns the GID of the owner of the file.