Expose rb_process_status_wait
and hide rb_process_status_waitv
. (#8316)
This commit is contained in:
parent
0744da1b3b
commit
e46e48d690
Notes:
git
2023-08-29 10:25:17 +00:00
Merged-By: ioquatix <samuel@codeotaku.com>
@ -30,6 +30,15 @@ RBIMPL_SYMBOL_EXPORT_BEGIN()
|
||||
|
||||
/* process.c */
|
||||
|
||||
/**
|
||||
* Wait for the specified process to terminate, reap it, and return its status.
|
||||
*
|
||||
* @param[in] pid The process ID to wait for.
|
||||
* @param[in] flags The flags to pass to waitpid(2).
|
||||
* @return VALUE An instance of Process::Status.
|
||||
*/
|
||||
VALUE rb_process_status_wait(rb_pid_t pid, int flags);
|
||||
|
||||
/**
|
||||
* Sets the "last status", or the `$?`.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user