blob: fb521f23d430b3906daf8bac80945ee5594f7ae5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include <termios.h>
#include <sys/ioctl.h>
#include "syscall.h"
int tcdrain(int fd)
{
return syscall_cp(SYS_ioctl, fd, TCSBRK, 1);
}
#ifdef TEST
int
main(void) {
return 0;
}
#endif
|