Returns the (real) group ID for the current process:
Process.gid # => 1000
Overloads:
Returns:
6743 6744 6745 6746 6747 6748
# File 'process.c', line 6743 static VALUE proc_getgid(VALUE obj) { rb_gid_t gid = getgid(); return GIDT2NUM(gid); }