blob: fe3f4e705583950fc07caf06555daebadff61884 [file] [log] [blame]
#include <termios.h>
#include <sys/ioctl.h>
#include "libc.h"
#include "syscall.h"
int tcdrain(int fd) {
return syscall_cp(SYS_ioctl, fd, TCSBRK, 1);
}