Skip to content

Tracking Issue for extra unix ExitStatusExt methods #80695

Closed
@ijackson

Description

@ijackson

Feature gate: #![feature(unix_process_wait_more)]

This is a tracking issue for a collection of logically necessary but previously missing methods on ExitStatusExt, the Unix-specific extension trait for ExitStatus.

Public API

// std::src::sys::unix::ext::process

pub trait ExitStatusExt : private::Sealed {
    // this feature gate adds these methods:
    fn core_dumped(&self) -> bool; // WCOREDUMP
    fn stopped_signal(&self) -> Option<i32>; // WIFSTOPPED? WSTOPSIG
    fn continued(&self) -> bool; // WIFCONTINUED
    fn into_raw(self) -> i32;
}

Steps / History

Unresolved Questions

  • None; other than the breakage risk due to sealing this trait. the trait has been sealed for some time now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCLibs-TrackedLibs issues that are tracked on the team's project board.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