Function nix::sys::termios::cfsetspeed

source ·
pub fn cfsetspeed(termios: &mut Termios, baud: BaudRate) -> Result<()>
Expand description

Set both the input and output baud rates (see termios(3)).

cfsetspeed() sets the input and output baud rate in the given Termios structure. Note that this is part of the 4.4BSD standard and not part of POSIX.