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