parent
c75d5e242f
commit
97ac479066
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ impl IntoRawFd for process::ChildStderr {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns the OS-assigned process identifier associated with this process's parent.
|
/// 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 {
|
pub fn parent_id() -> u32 {
|
||||||
::sys::os::getppid()
|
::sys::os::getppid()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue