seteuid(p1)
public
Set the effective user ID of the calling process to
user. Not available on all platforms.
Show source
static VALUE
p_sys_seteuid(VALUE obj, VALUE id)
{
check_uid_switch();
if (seteuid(OBJ2UID(id)) != 0) rb_sys_fail(0);
return Qnil;
}