We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To round out the support for the "wait" family of functions, in addition to having pcntl_wait and pcntl_waitpid, we should add pcntl_waitid.
pcntl_wait
pcntl_waitpid
pcntl_waitid
Here's the POSIX reference to waitid:
waitid
https://pubs.opengroup.org/onlinepubs/9699919799/functions/waitid.html
The waitid() function shall obtain status information pertaining to termination, stop, and/or continue events in one of the caller's child processes
The status information struct is shared with sigwaitinfo, so code reuse between pcntl_sigwaitinfo and pcntl_waitid might be possible.
sigwaitinfo
pcntl_sigwaitinfo
The text was updated successfully, but these errors were encountered:
Code is merged to master, documentation PR needs more reviewers.
Sorry, something went wrong.
Since this is implemented and documented, this can be closed.
Successfully merging a pull request may close this issue.
Description
To round out the support for the "wait" family of functions, in addition to having
pcntl_wait
andpcntl_waitpid
, we should addpcntl_waitid
.Here's the POSIX reference to
waitid
:https://pubs.opengroup.org/onlinepubs/9699919799/functions/waitid.html
The status information struct is shared with
sigwaitinfo
, so code reuse betweenpcntl_sigwaitinfo
andpcntl_waitid
might be possible.The text was updated successfully, but these errors were encountered: