summaryrefslogtreecommitdiff
path: root/src/termios/tcgetattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/termios/tcgetattr.c')
-rw-r--r--src/termios/tcgetattr.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/termios/tcgetattr.c b/src/termios/tcgetattr.c
deleted file mode 100644
index 364dc9f7..00000000
--- a/src/termios/tcgetattr.c
+++ /dev/null
@@ -1,21 +0,0 @@
-#if 0
-
-#include <termios.h>
-#include "_termios.h"
-
-int tcgetattr(int fildes, struct termios *termios_p)
-{
- int ret = -1;
- struct kernel_termios kt;
- utok(kt, *termios_p);
- ret = ioctl(fildes, TCGETS, &kt);
- ktou(*termios_p, kt);
- return ret;
-}
-
-/*
-POSIX(1)
-*/
-
-
-#endif