Function otter_api_tests::unistd::getgroups[]

pub fn getgroups() -> Result<Vec<Gid, Global>, Error>
Expand description

Get the list of supplementary group IDs of the calling process.

Further reading

Note: This function is not available for Apple platforms. On those platforms, checking group membership should be achieved via communication with the opendirectoryd service.