Last change
on this file since 444 was 337, checked in by coas-nagasima, 6 years ago |
ASP3版ECNLを追加
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-chdr;charset=UTF-8
|
File size:
3.3 KB
|
Line | |
---|
1 | struct termios {
|
---|
2 | tcflag_t c_iflag;
|
---|
3 | tcflag_t c_oflag;
|
---|
4 | tcflag_t c_cflag;
|
---|
5 | tcflag_t c_lflag;
|
---|
6 | cc_t c_line;
|
---|
7 | cc_t c_cc[NCCS];
|
---|
8 | speed_t __c_ispeed;
|
---|
9 | speed_t __c_ospeed;
|
---|
10 | };
|
---|
11 |
|
---|
12 | #define VINTR 0
|
---|
13 | #define VQUIT 1
|
---|
14 | #define VERASE 2
|
---|
15 | #define VKILL 3
|
---|
16 | #define VEOF 4
|
---|
17 | #define VTIME 5
|
---|
18 | #define VMIN 6
|
---|
19 | #define VSWTC 7
|
---|
20 | #define VSTART 8
|
---|
21 | #define VSTOP 9
|
---|
22 | #define VSUSP 10
|
---|
23 | #define VEOL 11
|
---|
24 | #define VREPRINT 12
|
---|
25 | #define VDISCARD 13
|
---|
26 | #define VWERASE 14
|
---|
27 | #define VLNEXT 15
|
---|
28 | #define VEOL2 16
|
---|
29 |
|
---|
30 | #define IGNBRK 0000001
|
---|
31 | #define BRKINT 0000002
|
---|
32 | #define IGNPAR 0000004
|
---|
33 | #define PARMRK 0000010
|
---|
34 | #define INPCK 0000020
|
---|
35 | #define ISTRIP 0000040
|
---|
36 | #define INLCR 0000100
|
---|
37 | #define IGNCR 0000200
|
---|
38 | #define ICRNL 0000400
|
---|
39 | #define IUCLC 0001000
|
---|
40 | #define IXON 0002000
|
---|
41 | #define IXANY 0004000
|
---|
42 | #define IXOFF 0010000
|
---|
43 | #define IMAXBEL 0020000
|
---|
44 | #define IUTF8 0040000
|
---|
45 |
|
---|
46 | #define OPOST 0000001
|
---|
47 | #define OLCUC 0000002
|
---|
48 | #define ONLCR 0000004
|
---|
49 | #define OCRNL 0000010
|
---|
50 | #define ONOCR 0000020
|
---|
51 | #define ONLRET 0000040
|
---|
52 | #define OFILL 0000100
|
---|
53 | #define OFDEL 0000200
|
---|
54 | #define NLDLY 0000400
|
---|
55 | #define NL0 0000000
|
---|
56 | #define NL1 0000400
|
---|
57 | #define CRDLY 0003000
|
---|
58 | #define CR0 0000000
|
---|
59 | #define CR1 0001000
|
---|
60 | #define CR2 0002000
|
---|
61 | #define CR3 0003000
|
---|
62 | #define TABDLY 0014000
|
---|
63 | #define TAB0 0000000
|
---|
64 | #define TAB1 0004000
|
---|
65 | #define TAB2 0010000
|
---|
66 | #define TAB3 0014000
|
---|
67 | #define BSDLY 0020000
|
---|
68 | #define BS0 0000000
|
---|
69 | #define BS1 0020000
|
---|
70 | #define FFDLY 0100000
|
---|
71 | #define FF0 0000000
|
---|
72 | #define FF1 0100000
|
---|
73 |
|
---|
74 | #define VTDLY 0040000
|
---|
75 | #define VT0 0000000
|
---|
76 | #define VT1 0040000
|
---|
77 |
|
---|
78 | #define B0 0000000
|
---|
79 | #define B50 0000001
|
---|
80 | #define B75 0000002
|
---|
81 | #define B110 0000003
|
---|
82 | #define B134 0000004
|
---|
83 | #define B150 0000005
|
---|
84 | #define B200 0000006
|
---|
85 | #define B300 0000007
|
---|
86 | #define B600 0000010
|
---|
87 | #define B1200 0000011
|
---|
88 | #define B1800 0000012
|
---|
89 | #define B2400 0000013
|
---|
90 | #define B4800 0000014
|
---|
91 | #define B9600 0000015
|
---|
92 | #define B19200 0000016
|
---|
93 | #define B38400 0000017
|
---|
94 |
|
---|
95 | #define B57600 0010001
|
---|
96 | #define B115200 0010002
|
---|
97 | #define B230400 0010003
|
---|
98 | #define B460800 0010004
|
---|
99 | #define B500000 0010005
|
---|
100 | #define B576000 0010006
|
---|
101 | #define B921600 0010007
|
---|
102 | #define B1000000 0010010
|
---|
103 | #define B1152000 0010011
|
---|
104 | #define B1500000 0010012
|
---|
105 | #define B2000000 0010013
|
---|
106 | #define B2500000 0010014
|
---|
107 | #define B3000000 0010015
|
---|
108 | #define B3500000 0010016
|
---|
109 | #define B4000000 0010017
|
---|
110 |
|
---|
111 | #define CSIZE 0000060
|
---|
112 | #define CS5 0000000
|
---|
113 | #define CS6 0000020
|
---|
114 | #define CS7 0000040
|
---|
115 | #define CS8 0000060
|
---|
116 | #define CSTOPB 0000100
|
---|
117 | #define CREAD 0000200
|
---|
118 | #define PARENB 0000400
|
---|
119 | #define PARODD 0001000
|
---|
120 | #define HUPCL 0002000
|
---|
121 | #define CLOCAL 0004000
|
---|
122 |
|
---|
123 | #define ISIG 0000001
|
---|
124 | #define ICANON 0000002
|
---|
125 | #define ECHO 0000010
|
---|
126 | #define ECHOE 0000020
|
---|
127 | #define ECHOK 0000040
|
---|
128 | #define ECHONL 0000100
|
---|
129 | #define NOFLSH 0000200
|
---|
130 | #define TOSTOP 0000400
|
---|
131 | #define IEXTEN 0100000
|
---|
132 |
|
---|
133 | #define TCOOFF 0
|
---|
134 | #define TCOON 1
|
---|
135 | #define TCIOFF 2
|
---|
136 | #define TCION 3
|
---|
137 |
|
---|
138 | #define TCIFLUSH 0
|
---|
139 | #define TCOFLUSH 1
|
---|
140 | #define TCIOFLUSH 2
|
---|
141 |
|
---|
142 | #define TCSANOW 0
|
---|
143 | #define TCSADRAIN 1
|
---|
144 | #define TCSAFLUSH 2
|
---|
145 |
|
---|
146 | #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
|
---|
147 | #define EXTA 0000016
|
---|
148 | #define EXTB 0000017
|
---|
149 | #define CBAUD 0010017
|
---|
150 | #define CBAUDEX 0010000
|
---|
151 | #define CIBAUD 002003600000
|
---|
152 | #define CMSPAR 010000000000
|
---|
153 | #define CRTSCTS 020000000000
|
---|
154 |
|
---|
155 | #define XCASE 0000004
|
---|
156 | #define ECHOCTL 0001000
|
---|
157 | #define ECHOPRT 0002000
|
---|
158 | #define ECHOKE 0004000
|
---|
159 | #define FLUSHO 0010000
|
---|
160 | #define PENDIN 0040000
|
---|
161 | #define EXTPROC 0200000
|
---|
162 |
|
---|
163 | #define XTABS 0014000
|
---|
164 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.