D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Process
/
UID
/
Filename :
switch-c.ri
back
Copy
U:RDoc::AnyMethod[iI"switch:ETI"Process::UID::switch;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"GSwitch the effective and real user IDs of the current process. If ;TI"Ca <em>block</em> is given, the user IDs will be switched back ;TI"Gafter the block is executed. Returns the new effective user 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::UID.switch -> integer Process::UID.switch {|| block} -> object ;T0[ I"();T@FI"UID;TcRDoc::NormalModule00