summaryrefslogblamecommitdiff
path: root/src/termios/tcdrain.c
blob: c51dd401fea4f223b91d251b52acbfff169f1d06 (plain) (tree)
1
2
3
4
5
6
7






                                    
#include <termios.h>
#include <sys/ioctl.h>

int tcdrain(int fd)
{
	return ioctl(fd, TCSBRK, 1);
}