repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix local-dynamic model TLS on mips and powerpc
[musl.git]
/
src
/
termios
/
tcdrain.c
blob
6e43afb7564001143ad096e85cb6ba2a93462262
1
#include <termios.h>
2
#include <sys/ioctl.h>
3
#include
"libc.h"
4
#include
"syscall.h"
5
6
int
tcdrain
(
int
fd
)
7
{
8
return
syscall_cp
(
SYS_ioctl
,
fd
,
TCSBRK
,
1
);
9
}