Function redox_users::get_egid [] [src]

pub fn get_egid() -> Result<usize>

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();