Skip to content

std::os::unix::process::ExitStatusExt into_raw #73128

Closed
@ijackson

Description

@ijackson

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/WSTOPSIG etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: 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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions