D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Process
/
GID
/
Filename :
switch-c.ri
back
Copy
U:RDoc::AnyMethod[iI"switch:ETI"Process::GID::switch;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"HSwitch the effective and real group IDs of the current process. If ;TI"Da <em>block</em> is given, the group IDs will be switched back ;TI"Hafter the block is executed. Returns the new effective group ID if ;TI"Fcalled without a block, and the return value of the block if one ;TI"is given.;T: @fileI"process.c;T:0@omit_headings_from_table_of_contents_below0I"\Process::GID.switch -> integer Process::GID.switch {|| block} -> object ;T0[ I"();T@FI"GID;TcRDoc::NormalModule00