Current File : //proc/thread-self/root/proc/self/root/opt/alt/ruby18/share/ri/1.8/system/Process/initgroups-c.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Initializes the supplemental group access list by reading the system group database and using all groups of which the given user is a member. The group with the specified <em>gid</em> is also added to the list. Returns the resulting <tt>Array</tt> of the gids of all the groups in the supplementary group access list. Not available on all platforms.
- !ruby/struct:SM::Flow::VERB
body: " Process.groups #=> [0, 1, 2, 3, 4, 6, 10, 11, 20, 26, 27]\n Process.initgroups( "mgranger", 30 ) #=> [30, 6, 10, 11]\n Process.groups #=> [30, 6, 10, 11]\n"
full_name: Process::initgroups
is_singleton: true
name: initgroups
params: |
Process.initgroups(username, gid) => array
visibility: public