D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Process
/
UID
/
Filename :
grant_privilege-c.ri
back
Copy
U:RDoc::AnyMethod[iI"grant_privilege:ETI""Process::UID::grant_privilege;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"FSet the effective user ID, and if possible, the saved user ID of ;TI"6the process to the given _user_. Returns the new ;TI"7effective user ID. Not available on all platforms.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"5[Process.uid, Process.euid] #=> [0, 0] ;TI"1Process::UID.grant_privilege(31) #=> 31 ;TI"5[Process.uid, Process.euid] #=> [0, 31];T:@format0: @fileI"process.c;T:0@omit_headings_from_table_of_contents_below0I"eProcess::UID.grant_privilege(user) -> integer Process::UID.eid= user -> integer ;T0[ I" (p1);T@FI"UID;TcRDoc::NormalModule00