diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-12-12 11:44:25 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-12-12 11:44:25 +0900 |
commit | 4e5156621e3557af98d3d91aff243278e1d8dbef (patch) | |
tree | 65c211d8a7767c44809a2b83eb762b3d46648f96 | |
parent | 70a311fdeb66ce80b562ccc4459c409cea64b74c (diff) | |
download | ruby-4e5156621e3557af98d3d91aff243278e1d8dbef.tar.gz |
[DOC] Process::Status.wait return nil if no child processes [ci skip]
-rw-r--r-- | process.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1367,8 +1367,8 @@ rb_process_status_wait(rb_pid_t pid, int flags) * haven't been reported). Not all flags are available on all * platforms, but a flag value of zero will work on all platforms. * - * Calling this method raises a SystemCallError if there are no child - * processes. Not available on all platforms. + * Returns +nil+ if there are no child processes. + * Not available on all platforms. * * May invoke the scheduler hook _process_wait_. * @@ -1383,7 +1383,7 @@ rb_process_status_wait(rb_pid_t pid, int flags) * Process::Status.wait(pid, 0) #=> pid 27440 exit 99 * Time.now #=> 2008-03-08 19:56:19 +0900 * - * EXPERIMENTAL FEATURE + * This is an EXPERIMENTAL FEATURE. */ VALUE |