Function nix::sys::termios::cfsetspeed[][src]

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

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.