APIdock / Ruby
/
method

setegid

ruby latest stable - Class: Process ::Sys
setegid(p1)
public

Set the effective group ID of the calling process to group. Not available on all platforms.

static VALUE
p_sys_setegid(VALUE obj, VALUE id)
{
 check_gid_switch();
 if (setegid(OBJ2GID(id)) != 0) rb_sys_fail(0);
 return Qnil;
}

AltStyle によって変換されたページ (->オリジナル) /