[][src]Function coreutils_core::os::process::set_groups

pub fn set_groups(groups: &[&str]) -> Result<(), GrError>

Set the groups for the current process.

Errors

If a internal call set a errno (I/O OS error) or it fails to get Groups, an error variant will be returned.