mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-14 17:59:28 +08:00
14 lines
228 B
C
14 lines
228 B
C
|
/* tcdrain - wait for transmission of output */
|
||
|
|
||
|
#include <termios.h>
|
||
|
#include <sys/ioctl.h>
|
||
|
#include <machine/weakalias.h>
|
||
|
|
||
|
int
|
||
|
__libc_tcdrain (int fd)
|
||
|
{
|
||
|
return ioctl (fd, TCSBRK, 1);
|
||
|
}
|
||
|
weak_alias (__libc_tcdrain, tcdrain)
|
||
|
|