Go to the first, previous, next, last section, table of contents.


tcflush

Syntax

#include <termios.h>

int tcflush (int fd, int which);

Description

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.

Return Value

Zero on success, nonzero on failure.

Portability

not ANSI, POSIX


Go to the first, previous, next, last section, table of contents.