@@ -138,6 +138,42 @@ pub const ICANON: ::tcflag_t = 0x100;
138
138
pub const PENDIN : :: tcflag_t = 0x20000000 ;
139
139
pub const NOFLSH : :: tcflag_t = 0x80000000 ;
140
140
141
+ pub const B0 : :: speed_t = 0o000000 ;
142
+ pub const B50 : :: speed_t = 0o000001 ;
143
+ pub const B75 : :: speed_t = 0o000002 ;
144
+ pub const B110 : :: speed_t = 0o000003 ;
145
+ pub const B134 : :: speed_t = 0o000004 ;
146
+ pub const B150 : :: speed_t = 0o000005 ;
147
+ pub const B200 : :: speed_t = 0o000006 ;
148
+ pub const B300 : :: speed_t = 0o000007 ;
149
+ pub const B600 : :: speed_t = 0o000010 ;
150
+ pub const B1200 : :: speed_t = 0o000011 ;
151
+ pub const B1800 : :: speed_t = 0o000012 ;
152
+ pub const B2400 : :: speed_t = 0o000013 ;
153
+ pub const B4800 : :: speed_t = 0o000014 ;
154
+ pub const B9600 : :: speed_t = 0o000015 ;
155
+ pub const B19200 : :: speed_t = 0o000016 ;
156
+ pub const B38400 : :: speed_t = 0o000017 ;
157
+ pub const EXTA : :: speed_t = B19200 ;
158
+ pub const EXTB : :: speed_t = B38400 ;
159
+ pub const CBAUDEX : :: speed_t = 0o000000 ;
160
+ pub const B57600 : :: speed_t = 0o0020 ;
161
+ pub const B115200 : :: speed_t = 0o0021 ;
162
+ pub const B230400 : :: speed_t = 0o0022 ;
163
+ pub const B460800 : :: speed_t = 0o0023 ;
164
+ pub const B500000 : :: speed_t = 0o0024 ;
165
+ pub const B576000 : :: speed_t = 0o0025 ;
166
+ pub const B921600 : :: speed_t = 0o0026 ;
167
+ pub const B1000000 : :: speed_t = 0o0027 ;
168
+ pub const B1152000 : :: speed_t = 0o0030 ;
169
+ pub const B1500000 : :: speed_t = 0o0031 ;
170
+ pub const B2000000 : :: speed_t = 0o0032 ;
171
+ pub const B2500000 : :: speed_t = 0o0033 ;
172
+ pub const B3000000 : :: speed_t = 0o0034 ;
173
+ pub const B3500000 : :: speed_t = 0o0035 ;
174
+ pub const B4000000 : :: speed_t = 0o0036 ;
175
+ pub const BOTHER : :: speed_t = 0o0037 ;
176
+
141
177
pub const VEOL : usize = 6 ;
142
178
pub const VEOL2 : usize = 8 ;
143
179
pub const VMIN : usize = 5 ;
0 commit comments