-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
std::os::unix::process::ExitStatusExt into_raw #73128
Copy link
Copy link
Closed
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
It it occasionally useful to be able to convert an exit status back to the raw unix value.
For example, one might want to pass it to a C library. This would also provide an escape hatch to mitigate the lack of
WCOREDUMP,WIFSTOPPED/WSTOPSIGetc.