Skip to content

Commit

Permalink
Stabilize parent_id()
Browse files Browse the repository at this point in the history
  • Loading branch information
tmccombs committed Apr 4, 2018
1 parent c75d5e2 commit 97ac479
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 97ac479

Please sign in to comment.