nix::sys::termios

Function cfgetispeed

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

Get input baud rate (see cfgetispeed(3p)).

cfgetispeed() extracts the input baud rate from the given Termios structure.