| cvs.gedasymbols.org/djgpp/doc/libc/libc_807.html | search | 
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] | 
#include <termios.h> int tcflush (int fd, int which);  | 
This function clears the input and/or output queues on for the device/file open on handle fd. The which argument can take these values:
TCIFLUSH
TCOFLUSH
TCIOFLUSH
TCIFLUSH and TCOFLUSH
Note that the termios emulation handles console only.
Zero on success, nonzero on failure.
| ANSI/ISO C | No | 
| POSIX | 1003.2-1992; 1003.1-2001 | 
| webmaster | delorie software privacy | 
| Copyright © 2004 | Updated Apr 2004 |