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 Process::Status object) of that ;TI"Echild. Raises a SystemCallError if there are no child processes.;To:RDoc::Markup::BlankLineo: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