librelic::prelude::sys::user
pub fn getgid() -> u32
Returns the group ID for the current user.
use fungus::prelude::*; assert!(user::getgid() != 0);