mescc: Mes C Library: Support GNU Bash: Add struct winsize.
* include/termio.h (struct winsize): New type.
This commit is contained in:
parent
8d45c6484f
commit
860f5ce7d5
|
@ -49,6 +49,14 @@
|
||||||
#define CS8 0000060
|
#define CS8 0000060
|
||||||
#define PARENB 0000400
|
#define PARENB 0000400
|
||||||
|
|
||||||
|
struct winsize
|
||||||
|
{
|
||||||
|
unsigned short ws_row;
|
||||||
|
unsigned short ws_col;
|
||||||
|
unsigned short ws_xpixel;
|
||||||
|
unsigned short ws_ypixel;
|
||||||
|
};
|
||||||
|
|
||||||
struct termio
|
struct termio
|
||||||
{
|
{
|
||||||
unsigned short c_iflag;
|
unsigned short c_iflag;
|
||||||
|
|
Loading…
Reference in a new issue