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
/
ruby27
/
share
/
ri
/
system
/
IO
/
//opt/alt/ruby27/share/ri/system/IO/pid-i.ri
U:RDoc::AnyMethod[iI"pid:ETI"IO#pid;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"?Returns the process ID of a child process associated with ;TI"0<em>ios</em>. This will be set by IO.popen.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"pipe = IO.popen("-") ;TI" if pipe ;TI": $stderr.puts "In parent, child pid is #{pipe.pid}" ;TI" else ;TI"- $stderr.puts "In child, pid is #{$$}" ;TI" end ;T:@format0o; ; [I"<em>produces:</em>;T@o;; [I"In child, pid is 26209 ;TI""In parent, child pid is 26209;T; 0: @fileI" io.c;T:0@omit_headings_from_table_of_contents_below0I"ios.pid -> integer ;T0[ I"();T@FI"IO;TcRDoc::NormalClass00