projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
8e889b517a74bff799578b5e8847630f26bbb665
[musl]
/
src
/
termios
/
tcdrain.c
1
#include <termios.h>
2
#include <sys/ioctl.h>
3
#include "libc.h"
4
5
int tcdrain(int fd)
6
{
7
int ret;
8
CANCELPT_BEGIN;
9
ret = ioctl(fd, TCSBRK, 1);
10
CANCELPT_END;
11
return ret;
12
}