Function dmx_termios::tcflow [] [src]

pub fn tcflow(fd: RawFd, action: c_int) -> Result<()>

Suspends or restarts transmission or reception of data.

Parameters

  • fd should be an open file descriptor associated with a terminal.
  • action should be one of the following constants:
    • TCOOFF suspends output.
    • TCOON restarts output.
    • TCIOFF transmits a STOP character, intended to cause the remote device to stop transmitting.
    • TCION transmits a START character, intended to cause the remote device to resume transmitting.