Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
opt
/
ruby-2.6.0-202012151422
/
usr
/
share
/
ri
/
2.6.0
/
system
/
Process
/
//opt/ruby-2.6.0-202012151422/usr/share/ri/2.6.0/system/Process/waitpid2-c.ri
U:RDoc::AnyMethod[iI" waitpid2:ETI"Process::waitpid2;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"GWaits for a child process to exit (see Process::waitpid for exact ;TI"Gsemantics) and returns an array containing the process id and the ;TI"Aexit status (a <code>Process::Status</code> object) of that ;TI"Echild. Raises a SystemCallError if there are no child processes.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"*Process.fork { exit 99 } #=> 27437 ;TI"!pid, status = Process.wait2 ;TI"*pid #=> 27437 ;TI"&status.exitstatus #=> 99;T:@format0: @fileI"process.c;T:0@omit_headings_from_table_of_contents_below0I"9Process.waitpid2(pid=-1, flags=0) -> [pid, status];T0[ I"(*args);T@FI"Process;TcRDoc::NormalModule00