summaryrefslogtreecommitdiff
path: root/newlib/libc/sys/sysvi386/tcsetattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/sysvi386/tcsetattr.c')
-rw-r--r--newlib/libc/sys/sysvi386/tcsetattr.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/newlib/libc/sys/sysvi386/tcsetattr.c b/newlib/libc/sys/sysvi386/tcsetattr.c
new file mode 100644
index 00000000000..1df92b28143
--- /dev/null
+++ b/newlib/libc/sys/sysvi386/tcsetattr.c
@@ -0,0 +1,7 @@
+#include <sys/termios.h>
+
+int
+tcsetattr (int fd, int opts, const struct termios *tp) {
+ return _ioctl (fd, opts, tp);
+}
+