mescc: Mes C Library: Support GNU Bash: Add struct winsize.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sat, 6 Jul 2019 09:25:02 +0000 (11:25 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sat, 6 Jul 2019 09:25:02 +0000 (11:25 +0200)
* include/termio.h (struct winsize): New type.

include/termio.h

index 51cff8cc034b95efa0df761616829352b4db4a48..af6c628370c850055023ce77024c9626e0019c8b 100644 (file)
 #define   CS8  0000060
 #define PARENB 0000400
 
+struct winsize
+{
+  unsigned short ws_row;
+  unsigned short ws_col;
+  unsigned short ws_xpixel;
+  unsigned short ws_ypixel;
+};
+
 struct termio
 {
   unsigned short c_iflag;