Function termios::cfgetospeed [] [src]

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

Gets the output baud rate stored in a Termios structure.

Examples

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