class method
Process::Sys.setgid
(::Integer group) -> nil
Process::Sys.setgid(group) → nil
process.c
View on GitHub ↗
static VALUE
p_sys_setgid(VALUE obj, VALUE id)
{
check_gid_switch();
if (setgid(OBJ2GID(id)) != 0) rb_sys_fail(0);
return Qnil;
}
Set the group ID of the current process to group. Not available on all platforms.