Add STDIN file number
This commit is contained in:
parent
091cc35730
commit
a6e8663ab7
@ -34,6 +34,8 @@ pub struct UnmountOptions {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl RawFd {
|
impl RawFd {
|
||||||
|
/// Default input descriptor of a process
|
||||||
|
pub const STDIN: Self = Self(0);
|
||||||
/// Default output descriptor of a process
|
/// Default output descriptor of a process
|
||||||
pub const STDOUT: Self = Self(1);
|
pub const STDOUT: Self = Self(1);
|
||||||
/// Error output descriptor of a process
|
/// Error output descriptor of a process
|
||||||
|
Loading…
x
Reference in New Issue
Block a user