Function termios::cfgetispeed
[−]
[src]
pub fn cfgetispeed(termios: &Termios) -> speed_t
Gets the input baud rate stored in a Termios
structure.
Examples
cfsetispeed(&mut termios, B9600).unwrap(); assert_eq!(cfgetispeed(&termios), B9600);