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