Function redox_users::get_gid

source ·
pub fn get_gid() -> Result<usize, Error>
Expand description

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