Function termios::tcflow
[−]
[src]
pub fn tcflow(fd: RawFd, action: c_int) -> Result<()>
Suspends or restarts transmission or reception of data.
Parameters
fdshould be an open file descriptor associated with a terminal.actionshould be one of the following constants:TCOOFFsuspends output.TCOONrestarts output.TCIOFFtransmits a STOP character, intended to cause the remote device to stop transmitting.TCIONtransmits a START character, intended to cause the remote device to resume transmitting.