source:
trunk/minix/lib/posix/_tcdrain.c@
15
| Last change on this file since 15 was 9, checked in by , 15 years ago | |
|---|---|
| File size: 226 bytes | |
| Line | |
|---|---|
| 1 | /* |
| 2 | posix/_tcdrain.c |
| 3 | |
| 4 | Created: July 26, 1994 by Philip Homburg |
| 5 | */ |
| 6 | |
| 7 | #define tcdrain _tcdrain |
| 8 | #define ioctl _ioctl |
| 9 | #include <termios.h> |
| 10 | #include <sys/ioctl.h> |
| 11 | |
| 12 | int tcdrain(fd) |
| 13 | int fd; |
| 14 | { |
| 15 | return(ioctl(fd, TCDRAIN, (void *)0)); |
| 16 | } |
Note:
See TracBrowser
for help on using the repository browser.