next up previous contents index
Next: TCFlush Up: Functions and procedures Previous: TCDrain

TCFlow

   

Declaration:

Function TCFlow (Fd,Act:longint) : Boolean;

Description:

TCFlow suspends/resumes transmission or reception of data to or from the file descriptor Fd, depending on the action Act. This can be one of the following pre-defined values:

TCOOFF
suspend reception/transmission,
TCOON
resume reception/transmission,
TCIOFF
transmit a stop character to stop input from the terminal,
TCION
transmit start to resume input from the terminal.

The function returns True if the call was succesfull, False otherwise.

Errors:

Errors are reported in LinuxError.

See also:

termios (2)



Michael Van Canneyt
Thu Sep 10 13:59:33 CEST 1998