= 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) { #if defined HAVE_SETGID check_gid_switch(); if (setgid(NUM2GIDT(id)) != 0) rb_sys_fail(0); #else rb_notimplement(); #endif return Qnil; }