0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #ifndef _UAPI_ASM_POWERPC_TERMIOS_H
0014 #define _UAPI_ASM_POWERPC_TERMIOS_H
0015
0016
0017 #include <asm/ioctls.h>
0018 #include <asm/termbits.h>
0019
0020 struct sgttyb {
0021 char sg_ispeed;
0022 char sg_ospeed;
0023 char sg_erase;
0024 char sg_kill;
0025 short sg_flags;
0026 };
0027
0028 struct tchars {
0029 char t_intrc;
0030 char t_quitc;
0031 char t_startc;
0032 char t_stopc;
0033 char t_eofc;
0034 char t_brkc;
0035 };
0036
0037 struct ltchars {
0038 char t_suspc;
0039 char t_dsuspc;
0040 char t_rprntc;
0041 char t_flushc;
0042 char t_werasc;
0043 char t_lnextc;
0044 };
0045
0046 struct winsize {
0047 unsigned short ws_row;
0048 unsigned short ws_col;
0049 unsigned short ws_xpixel;
0050 unsigned short ws_ypixel;
0051 };
0052
0053 #define NCC 10
0054 struct termio {
0055 unsigned short c_iflag;
0056 unsigned short c_oflag;
0057 unsigned short c_cflag;
0058 unsigned short c_lflag;
0059 unsigned char c_line;
0060 unsigned char c_cc[NCC];
0061 };
0062
0063
0064 #define _VINTR 0
0065 #define _VQUIT 1
0066 #define _VERASE 2
0067 #define _VKILL 3
0068 #define _VEOF 4
0069 #define _VMIN 5
0070 #define _VEOL 6
0071 #define _VTIME 7
0072 #define _VEOL2 8
0073 #define _VSWTC 9
0074
0075
0076
0077 #endif