Syntax | #include <termios.h> int tcflush(int fildes, int queue_selector); | |
Description | fildes is a file descriptor associated with a terminal. Upon successful completion, If queue_selector is Attempts to use Extension | |
Return val. | 0 -1 | if successful. if an error occurs. |
Errors |
| |
|
| fildes is not a valid file descriptor. |
|
| queue_selector is not a supported value. |
| Extension | |
|
| An attempt was made to access a BS2000 file. (End) |
|
| The process group of the writing process is orphaned, and the writing process is not ignoring or blocking |
|
| The file associated with fildes is not a terminal. |
Notes |
| |
See also |
|