projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix pthread_attr_* implementations to match corrected prototypes
[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
}