OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [sys/] [linux/] [tcdrain.c] - Blame information for rev 207

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
/* tcdrain - wait for transmission of output */
2
 
3
#include <termios.h>
4
#include <sys/ioctl.h>
5
#include <machine/weakalias.h>
6
 
7
int
8
__libc_tcdrain (int fd)
9
{
10
  return ioctl (fd, TCSBRK, 1);
11
}
12
weak_alias (__libc_tcdrain, tcdrain)
13
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.