APIdock / Ruby
/
method

getegid

ruby latest stable - Class: Process ::Sys
getegid()
public

Returns the effective group ID for this process. Not available on all platforms.

Process .egid #=> 500
static VALUE
proc_getegid(VALUE obj)
{
 rb_gid_t egid = getegid();
 return GIDT2NUM(egid);
}

AltStyle によって変換されたページ (->オリジナル) /