Function nix::unistd::getgroups [−][src]
pub fn getgroups() -> Result<Vec<Gid>>
Expand description
Get the list of supplementary group IDs of the calling process.
Note: This function is not available for Apple platforms. On those
platforms, checking group membership should be achieved via communication
with the opendirectoryd
service.