Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
29f3202b731185d993a399f04d2f3e3f78db5a81
/
.
/
src
/
termios
/
tcdrain.c
blob: 6e43afb7564001143ad096e85cb6ba2a93462262 [
file
] [
log
] [
blame
]
#include
<termios.h>
#include
<sys/ioctl.h>
#include
"libc.h"
#include
"syscall.h"
int
tcdrain
(
int
fd
)
{
return
syscall_cp
(
SYS_ioctl
,
fd
,
TCSBRK
,
1
);
}