Function redox_users::get_gid [] [src]

pub fn get_gid() -> Result<usize>

Gets the current process real group ID.

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

Examples

Basic usage:

let gid = get_gid().unwrap();