0001
0002
0003
0004
0005
0006
0007
0008 #ifndef _UAPI_S390_TERMIOS_H
0009 #define _UAPI_S390_TERMIOS_H
0010
0011 #include <asm/termbits.h>
0012 #include <asm/ioctls.h>
0013
0014 struct winsize {
0015 unsigned short ws_row;
0016 unsigned short ws_col;
0017 unsigned short ws_xpixel;
0018 unsigned short ws_ypixel;
0019 };
0020
0021 #define NCC 8
0022 struct termio {
0023 unsigned short c_iflag;
0024 unsigned short c_oflag;
0025 unsigned short c_cflag;
0026 unsigned short c_lflag;
0027 unsigned char c_line;
0028 unsigned char c_cc[NCC];
0029 };
0030
0031
0032 #define TIOCM_LE 0x001
0033 #define TIOCM_DTR 0x002
0034 #define TIOCM_RTS 0x004
0035 #define TIOCM_ST 0x008
0036 #define TIOCM_SR 0x010
0037 #define TIOCM_CTS 0x020
0038 #define TIOCM_CAR 0x040
0039 #define TIOCM_RNG 0x080
0040 #define TIOCM_DSR 0x100
0041 #define TIOCM_CD TIOCM_CAR
0042 #define TIOCM_RI TIOCM_RNG
0043 #define TIOCM_OUT1 0x2000
0044 #define TIOCM_OUT2 0x4000
0045 #define TIOCM_LOOP 0x8000
0046
0047
0048
0049
0050 #endif