select: fix 64-bit timeout truncation on pre-time64 kernels
[musl] / src / termios / tcdrain.c
1 #include <termios.h>
2 #include <sys/ioctl.h>
3 #include "syscall.h"
4
5 int tcdrain(int fd)
6 {
7         return syscall_cp(SYS_ioctl, fd, TCSBRK, 1);
8 }