#include #include #include "syscall.h" int tcdrain(int fd) { return syscall_cp(SYS_ioctl, fd, TCSBRK, 1); } #ifdef TEST int main(void) { return 0; } #endif