[go: up one dir, main page]

cfgetospeed

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);