Function TCFlush (Fd,QSel:longint) : Boolean;
TCFlush discards all data sent or received to/from file descriptor fd. QSel indicates which queue should be discard. It can be one of the following pre-defined values :
The function returns True if the call was succesfull, False otherwise.
Errors are reported in LinuxError.
termios (2)