summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/termios/tcflush.c
blob: 502226694648b15ccc9b6240cd66f754175b524e (plain)
1
2
3
4
5
6
7
#include <termios.h>
#include <sys/ioctl.h>

int tcflush(int fd, int queue)
{
	return ioctl(fd, TCFLSH, queue);
}