work around a nasty bug in linux readv syscall
[oweals/musl.git] / src / termios / tcflush.c
1 #include <termios.h>
2 #include <sys/ioctl.h>
3
4 int tcflush(int fd, int queue)
5 {
6         return ioctl(fd, TCFLSH, queue);
7 }