diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -104,6 +104,11 @@ //! cfsetspeed(termios, termios::os::dragonfly::B230400) //! } //! +//! #[cfg(target_os = "solaris")] +//! fn set_fastest_speed(termios: &mut Termios) -> io::Result<()> { +//! cfsetspeed(termios, termios::os::solaris::B921600) +//! } +//! //! # let fd = 1; //! let mut termios = Termios::from_fd(fd).unwrap(); //! set_fastest_speed(&mut termios).unwrap(); |