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

pub fn set_group(group: &str) -> Result<(), GrError>

Set the group for the current process.

Errors

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