#include <termios.h> int tcflush (int fd, int which);
This function clears the input and/or output queues on fd. It is provided for compatibility only. Note that the termios emulation handles console only.
Zero on success, nonzero on failure.
not ANSI, POSIX
Go to the first, previous, next, last section, table of contents.