Add STDIN file number

This commit is contained in:
Mark Poliakov 2023-07-20 18:13:47 +03:00
parent 091cc35730
commit a6e8663ab7

View File

@ -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