[][src]Function simple_libc::process::getgroups

pub fn getgroups() -> Result<Vec<GidT>>

Returns a vector containing the current supplementary group IDs.

This is a higher-level wrapper that calls getgroups_raw() twice, first to determine the number of groups and then again to actually fill the list.