diff options
Diffstat (limited to 'sys/linux/port/os/types.h')
-rw-r--r-- | sys/linux/port/os/types.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sys/linux/port/os/types.h b/sys/linux/port/os/types.h index e772b35..9452e39 100644 --- a/sys/linux/port/os/types.h +++ b/sys/linux/port/os/types.h @@ -108,4 +108,22 @@ struct sys·DirEntry char name[]; /* filename */ }; +/* + * terminal + */ + +/* termios + * NOTE: this is incorrect for Mips and PowerPC... + */ +typedef struct sys·TerminalIO sys·TerminalIO; + +struct sys·TerminalIO +{ + uint i,o,c,l; /* input,output,control,local flags */ + uchar line; + uchar ctrl[32]; /* control chars */ + uint ispeed; /* input speed */ + uint ospeed; /* output speed */ +}; + #undef packed |