get_egid

Function get_egid 

Source
pub fn get_egid() -> Result<usize, Error>
Expand description

Gets the current process effective group ID.

This function issues the getegid system call returning the process effective group id.

ยงExamples

Basic usage:

let egid = get_egid().unwrap();