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
/
IO
/
//opt/alt/ruby21/share/ri/2.1.0/system/IO/pid-i.ri
U:RDoc::AnyMethod[iI"pid:ETI"IO#pid;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"?Returns the process ID of a child process associated with ;TI"=<em>ios</em>. This will be set by <code>IO.popen</code>.;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 -> fixnum ;T0[ I"();T@FI"IO;TcRDoc::NormalClass00