source:
trunk/minix/lib/posix/_tcflush.c@
11
      
      | Last change on this file since 11 was 9, checked in by , 14 years ago | |
|---|---|
| File size: 269 bytes | |
| Line | |
|---|---|
| 1 | /* tcflush() - flush buffered characters Author: Kees J. Bot | 
| 2 | * 13 Jan 1994 | 
| 3 | */ | 
| 4 | #define tcflush _tcflush | 
| 5 | #define ioctl _ioctl | 
| 6 | #include <termios.h> | 
| 7 | #include <sys/ioctl.h> | 
| 8 | |
| 9 | int tcflush(int fd, int queue_selector) | 
| 10 | { | 
| 11 | return(ioctl(fd, TCFLSH, &queue_selector)); | 
| 12 | } | 
  Note:
 See   TracBrowser
 for help on using the repository browser.
    
