Skip to content

Commit

Permalink
Rollup merge of rust-lang#49637 - tmccombs:parent-id-stabilize, r=sfa…
Browse files Browse the repository at this point in the history
…ckler

Stabilize parent_id()

Fixes rust-lang#46104
  • Loading branch information
kennytm committed Apr 4, 2018
2 parents 4b6ab5a + 97ac479 commit a4f744d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/sys/unix/ext/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ impl IntoRawFd for process::ChildStderr {
}

/// Returns the OS-assigned process identifier associated with this process's parent.
#[unstable(feature = "unix_ppid", issue = "46104")]
#[stable(feature = "unix_ppid", since = "1.27.0")]
pub fn parent_id() -> u32 {
::sys::os::getppid()
}

0 comments on commit a4f744d

Please sign in to comment.