|   
cvs.gedasymbols.org/djgpp/doc/libc/libc_805.html
 | 
  
search  
 | 
libc.a reference
 tcdrain 
 Syntax                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
|   | #include <termios.h>
int tcdrain (int fd);
  | 
 Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
This function waits until all the output is written to the file/device
referred to by the handle fd.  In this implementation, this
function does nothing except checking the validity of its arguments; it
is provided for compatibility only.  Note that the termios emulation
handles console only.
 Return Value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
Zero on success, nonzero on failure.
 Portability                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
| ANSI/ISO C | 
 No
 | 
| POSIX | 
 1003.2-1992; 1003.1-2001
 |