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