Function nix::unistd::getresgid

source ยท
pub fn getresgid() -> Result<ResGid>
Expand description

Gets the real, effective, and saved group IDs.

(see getresgid(2))

#Returns

  • Ok((Gid, Gid, Gid)): tuple of real, effective and saved gids on success.
  • Err(x): libc error code on failure.