Function uzers::get_effective_gid

source ·
pub fn get_effective_gid() -> gid_t
Expand description

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

§libc functions used

§Examples

use uzers::get_effective_gid;

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