[][src]Function users::get_effective_gid

pub fn get_effective_gid() -> gid_t

Returns the group ID for the effective user running the process.

libc functions used

Examples

use users::get_effective_gid;

println!("The ID of the effective group is {}", get_effective_gid());