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