aboutsummaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/termios.c10
-rw-r--r--win32/termios.h4
2 files changed, 0 insertions, 14 deletions
diff --git a/win32/termios.c b/win32/termios.c
index a1329ceba..7115bc0da 100644
--- a/win32/termios.c
+++ b/win32/termios.c
@@ -1,15 +1,5 @@
1#include "libbb.h" 1#include "libbb.h"
2 2
3int tcsetattr(int fd UNUSED_PARAM, int mode UNUSED_PARAM, const struct termios *t UNUSED_PARAM)
4{
5 return -1;
6}
7
8int tcgetattr(int fd UNUSED_PARAM, struct termios *t UNUSED_PARAM)
9{
10 return -1;
11}
12
13int64_t FAST_FUNC read_key(int fd, char *buf UNUSED_PARAM, int timeout) 3int64_t FAST_FUNC read_key(int fd, char *buf UNUSED_PARAM, int timeout)
14{ 4{
15 HANDLE cin = GetStdHandle(STD_INPUT_HANDLE); 5 HANDLE cin = GetStdHandle(STD_INPUT_HANDLE);
diff --git a/win32/termios.h b/win32/termios.h
index 011a37eb9..c98d414f3 100644
--- a/win32/termios.h
+++ b/win32/termios.h
@@ -123,7 +123,3 @@ struct winsize {
123 unsigned short ws_row, ws_col; 123 unsigned short ws_row, ws_col;
124 unsigned short ws_xpixel, ws_ypixel; 124 unsigned short ws_xpixel, ws_ypixel;
125}; 125};
126
127int tcflush(int fd, int queue_selector);
128int tcgetattr(int fd, struct termios *t);
129int tcsetattr(int fd, int mode, const struct termios *t);