setegid(p1)
public
Set the effective group ID of the calling process
to group. Not available on all platforms.
Show source
static VALUE
p_sys_setegid(VALUE obj, VALUE id)
{
check_gid_switch();
if (setegid(OBJ2GID(id)) != 0) rb_sys_fail(0);
return Qnil;
}