Sign in
third-party-mirror
/
mingw-w64
/
518dd33c326f65684e8e938262b2a9ca94804cfb
/
.
/
mingw-w64-crt
/
termios
/
tcdrain.c
blob: 299a9a6c2c016832f47f85579c6d5c96a2ef28de [
file
] [
log
] [
blame
]
#include
<errno.h>
#include
<termios.h>
/* Wait for pending output to be written on FD. */
int
__libc_tcdrain
(
int
fd
)
{
if
(
fd
<
0
)
{
_set_errno
(
EBADF
);
return
-
1
;
}
_set_errno
(
ENOSYS
);
return
0
;
}