Question: what is tcflush in c?
Answer: tcflush -- Flush Terminal Input or Output tcflush is called by a process to flush all input that has received but not yet been read by a terminal, or all output written but not transmitted to the terminal.