Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
Etc
/
//opt/alt/ruby21/share/ri/2.1.0/system/Etc/getpwuid-c.ri
U:RDoc::AnyMethod[iI" getpwuid:ETI"Etc::getpwuid;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"SReturns the /etc/passwd information for the user with the given integer +uid+.;To:RDoc::Markup::BlankLine o; ; [I"4The information is returned as a Passwd struct.;T@o; ; [I"OIf +uid+ is omitted, the value from <code>Passwd[:uid]</code> is returned ;TI" instead.;T@o; ; [I"GSee the unix manpage for <code>getpwuid(3)</code> for more detail.;T@S:RDoc::Markup::Heading: leveli: textI" Example:;T@o:RDoc::Markup::Verbatim; [I"Etc.getpwuid(0) ;TI"q#=> #<struct Etc::Passwd name="root", passwd="x", uid=0, gid=0, gecos="root",dir="/root", shell="/bin/bash">;T:@format0: @fileI"ext/etc/etc.c;T:0@omit_headings_from_table_of_contents_below0I"%getpwuid(uid) -> Passwd ;T0[ I"(p1 = v1);T@FI"Etc;TcRDoc::NormalModule00