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
iconv: fix missing bounds checking for shift_jis decoding
[musl.git]
/
src
/
termios
/
tcdrain.c
blob
c0e542b3e5fbb1814d402ef941a1f545a15a17fd
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
}