get_group_id

Function get_group_id 

Source
pub fn get_group_id(group_name: &CStr) -> Result<gid_t>
Expand description

Safe wrapper for getting a gid from a group name with getgrnam_r(3).