seteuid(p1)
public
Set the effective user ID of the calling process to
integer. Not available on all platforms.
Show source
/*
* call-seq:
* Process::Sys.seteuid(integer) => nil
*
* Set the effective user ID of the calling process to
* _integer_. Not available on all platforms.
*
*/
static VALUE
p_sys_seteuid(obj, id)
VALUE obj, id;
{
check_uid_switch();
if (seteuid(NUM2INT(id)) != 0) rb_sys_fail(0);
rb_notimplement();
return Qnil;
}