= private = protected
setgid(p1)
Set the group ID of the current process to integer. Not available on all platforms.
static VALUE p_sys_setgid(VALUE obj, VALUE id) { check_gid_switch(); if (setgid(NUM2GIDT(id)) != 0) rb_sys_fail(0); return Qnil; }