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

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/sysvi386/tcgetattr.c')
-rw-r--r--newlib/libc/sys/sysvi386/tcgetattr.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/newlib/libc/sys/sysvi386/tcgetattr.c b/newlib/libc/sys/sysvi386/tcgetattr.c
new file mode 100644
index 000000000..e368418c1
--- /dev/null
+++ b/newlib/libc/sys/sysvi386/tcgetattr.c
@@ -0,0 +1,6 @@
+#include <sys/termios.h>
+
+int
+tcgetattr (int fd, struct termios *tp) {
+ return _ioctl (fd, _XCGETA, tp);
+}