pub fn getresgid() -> Result<ResGid>
Gets the real, effective, and saved group IDs.
(see getresgid(2))
#Returns
Ok((Gid, Gid, Gid))
Err(x)