nix::sys::termios

Function tcflow

Source
pub fn tcflow(fd: RawFd, action: FlowArg) -> Result<()>
Expand description

Suspend or resume the transmission or reception of data (see tcflow(3p)).

tcflow() suspends of resumes the transmission or reception of data for the given port depending on the value of action.