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