Function redox_users::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();