OSDN Git Service

Added winsize structure from before glibc-2.2.4 update
authorDavid Schleef <ds@schleef.org>
Sat, 10 Nov 2001 00:50:10 +0000 (00:50 -0000)
committerDavid Schleef <ds@schleef.org>
Sat, 10 Nov 2001 00:50:10 +0000 (00:50 -0000)
libc/sysdeps/linux/powerpc/bits/termios.h

index 7586848..a1cea1d 100644 (file)
@@ -26,6 +26,13 @@ typedef unsigned int tcflag_t;
 
 /* note: this is fixed to be the same as the kernel, not glibc */
 
+struct winsize {
+       unsigned short int ws_row;
+       unsigned short int ws_col;
+       unsigned short int ws_xpixel;
+       unsigned short int ws_ypixel;
+};
+
 #define NCCS 19
 struct termios {
        tcflag_t c_iflag;               /* input mode flags */