Welcome to mirror list, hosted at ThFree Co, Russian Federation.

tcdrain.c « linux « sys « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 364fc035f962a78c03c730a58f6c460c47061123 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* 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)