Flowdock
getgrgid(p1 = v1) public

Returns information about the group with specified integer group id (gid), as found in /etc/group.

The information is returned as a Struct::Group; see getgrent above for details.

e.g. Etc.getgrgid(100) -> #<struct Struct::Group name=“users”, passwd=“x”, gid=100, mem=[“meta”, “root”]>

Show source
Register or log in to add new notes.