OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1efa30a
)
Added winsize structure from before glibc-2.2.4 update
author
David Schleef
<ds@schleef.org>
Sat, 10 Nov 2001 00:50:10 +0000
(
00:50
-0000)
committer
David Schleef
<ds@schleef.org>
Sat, 10 Nov 2001 00:50:10 +0000
(
00:50
-0000)
libc/sysdeps/linux/powerpc/bits/termios.h
patch
|
blob
|
history
diff --git
a/libc/sysdeps/linux/powerpc/bits/termios.h
b/libc/sysdeps/linux/powerpc/bits/termios.h
index
7586848
..
a1cea1d
100644
(file)
--- a/
libc/sysdeps/linux/powerpc/bits/termios.h
+++ b/
libc/sysdeps/linux/powerpc/bits/termios.h
@@
-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 */