[][src]Function simple_libc::process::getregid

pub fn getregid() -> (GidT, GidT)

Gets the real and effective group IDs via the most efficient method possible.

On platforms with getresgid(), this function calls that function and discards the saved GID. On other platforms, it combines the results of getgid() and getegid().