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