[go: up one dir, main page]

cfgetispeed

Function cfgetispeed 

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

Gets the input baud rate stored in a Termios structure.

ยงExamples

cfsetispeed(&mut termios, B9600).unwrap();
assert_eq!(cfgetispeed(&termios), B9600);