INNER CODE UNIT · Rust

as_raw_fd

psmux/psmux · crates/portable-pty-psmux/src/lib.rs:124

    fn as_raw_fd(&self) -> Option<unix::RawFd>;

    #[cfg(unix)]
    fn tty_name(&self) -> Option<std::path::PathBuf>;

    /// If applicable to the type of the tty, return the termios
    /// associated with the stream
    #[cfg(unix)]
    fn get_termios(&self) -> Option<nix::sys::termios::Termios> {
        None
    }
}
impl_downcast!(MasterPty);

#[cfg(all(test, not(windows)))]
mod tests {
    use super::*;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…