5
Last change
on this file since c4b058ca was
c499856,
checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47
|
Change all references of rtems.com to rtems.org.
|
-
Property mode set to
100644
|
File size:
525 bytes
|
Line | |
---|
1 | /* |
---|
2 | * tcflush() - POSIX 1003.1b 7.2.2 - Line Control Functions |
---|
3 | * |
---|
4 | * COPYRIGHT (c) 1989-2010. |
---|
5 | * On-Line Applications Research Corporation (OAR). |
---|
6 | * |
---|
7 | * The license and distribution terms for this file may be |
---|
8 | * found in the file LICENSE in this distribution or at |
---|
9 | * http://www.rtems.org/license/LICENSE. |
---|
10 | */ |
---|
11 | |
---|
12 | #if HAVE_CONFIG_H |
---|
13 | #include "config.h" |
---|
14 | #endif |
---|
15 | |
---|
16 | #include <termios.h> |
---|
17 | #include <stdint.h> |
---|
18 | #include <sys/ioccom.h> |
---|
19 | |
---|
20 | int tcflush( int fd, int queue ) |
---|
21 | { |
---|
22 | return ioctl( fd, RTEMS_IO_TCFLUSH, (intptr_t) queue ); |
---|
23 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.