termios

Function cfgetospeed

Source
pub fn cfgetospeed(termios: &Termios) -> speed_t
Expand description

Gets the output baud rate stored in a Termios structure.

§Examples

cfsetospeed(&mut termios, B9600).unwrap();
assert_eq!(cfgetospeed(&termios), B9600);