D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Process
/
Filename :
initgroups-c.ri
back
Copy
U:RDoc::AnyMethod[iI"initgroups:ETI"Process::initgroups;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I".Sets the supplemental group access list; ;TI"the new list includes:;To:RDoc::Markup::BlankLine o:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0; [o; ; [I"QThe group IDs of those groups to which the user given by +username+ belongs.;To;;0; [o; ; [I"The group ID +gid+.;T@o; ; [I" Example:;T@o:RDoc::Markup::Verbatim; [I"OProcess.groups # => [0, 1, 2, 3, 4, 6, 10, 11, 20, 26, 27] ;TI"8Process.initgroups('me', 30) # => [30, 6, 10, 11] ;TI"8Process.groups # => [30, 6, 10, 11] ;T:@format0o; ; [I"$Not available on all platforms.;T: @fileI"process.c;T:0@omit_headings_from_table_of_contents_below0I"0Process.initgroups(username, gid) -> array ;T0[ I" (p1, p2);T@'FI"Process;TcRDoc::NormalModule00