Retrieves the supplementary groups of this process.
fn getgroups(buf: &mut [u32]) -> i32
The buffer in which the groups will be stored.
Returns the number of groups stored or an error value.
getgroups(2)