flushing FIONREAD (2const) TIOCINQ (2const) TIOCOUTQ (2const) TCFLSH (2const) TIOCSERGETLSR (2const) Faking input TIOCSTI (2const