nix::sys::termios

Function tcsendbreak

Source
pub fn tcsendbreak<Fd: AsFd>(fd: Fd, duration: c_int) -> Result<()>
Expand description

Send a break for a specific duration (see tcsendbreak(3p)).

When using asynchronous data transmission tcsendbreak() will transmit a continuous stream of zero-valued bits for an implementation-defined duration.