public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8615774
)
includes: add the extra tty ioctls
author
Alan Cox
<alan@linux.intel.com>
Mon, 29 Aug 2016 15:49:43 +0000
(16:49 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Mon, 29 Aug 2016 15:49:43 +0000
(16:49 +0100)
Library/include/termios.h
patch
|
blob
|
history
diff --git
a/Library/include/termios.h
b/Library/include/termios.h
index
c26ab89
..
29264d9
100644
(file)
--- a/
Library/include/termios.h
+++ b/
Library/include/termios.h
@@
-141,6
+141,18
@@
struct termios {
#define TIOCHANGUP 7 /* vhangup() */
#define TIOCOSTOP 8
#define TIOCOSTART 9
+#define TIOCGWINSZ 10
+#define TIOCSWINSZ 11
+#define TIOCGPGRP 12
+#define TIOCSPGRP 13
+
+
+struct winsize {
+ unsigned short ws_row;
+ unsigned short ws_col;
+ unsigned short ws_xpixel;
+ unsigned short ws_ypixel;
+};
extern speed_t cfgetispeed(const struct termios *__termios_p);
extern speed_t cfgetospeed(const struct termios *__termios_p);