Skip to content

Commit 5f02b54

Browse files
committed
uclibc/mips: add more missing constant
Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
1 parent 4d072b0 commit 5f02b54

File tree

1 file changed

+7
-0
lines changed
  • src/unix/linux_like/linux/uclibc/mips

1 file changed

+7
-0
lines changed

src/unix/linux_like/linux/uclibc/mips/mod.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,27 +219,34 @@ pub const CIBAUD: ::tcflag_t = 0o002003600000;
219219
pub const TAB1: ::tcflag_t = 0x00000800;
220220
pub const TAB2: ::tcflag_t = 0x00001000;
221221
pub const TAB3: ::tcflag_t = 0x00001800;
222+
pub const TABDLY: ::tcflag_t = 0o0014000;
222223
pub const CR1: ::tcflag_t = 0x00000200;
223224
pub const CR2: ::tcflag_t = 0x00000400;
224225
pub const CR3: ::tcflag_t = 0x00000600;
225226
pub const FF1: ::tcflag_t = 0x00008000;
226227
pub const BS1: ::tcflag_t = 0x00002000;
228+
pub const BSDLY: ::tcflag_t = 0o0020000;
227229
pub const VT1: ::tcflag_t = 0x00004000;
228230
pub const VWERASE: usize = 14;
231+
pub const XTABS: ::tcflag_t = 0o0014000;
229232
pub const VREPRINT: usize = 12;
230233
pub const VSUSP: usize = 10;
234+
pub const VSWTC: usize = 7;
235+
pub const VTDLY: ::c_int = 0o0040000;
231236
pub const VSTART: usize = 8;
232237
pub const VSTOP: usize = 9;
233238
pub const VDISCARD: usize = 13;
234239
pub const VTIME: usize = 5;
235240
pub const IXON: ::tcflag_t = 0x00000400;
236241
pub const IXOFF: ::tcflag_t = 0x00001000;
242+
pub const OLCUC: ::tcflag_t = 0o0000002;
237243
pub const ONLCR: ::tcflag_t = 0x4;
238244
pub const CSIZE: ::tcflag_t = 0x00000030;
239245
pub const CS6: ::tcflag_t = 0x00000010;
240246
pub const CS7: ::tcflag_t = 0x00000020;
241247
pub const CS8: ::tcflag_t = 0x00000030;
242248
pub const CSTOPB: ::tcflag_t = 0x00000040;
249+
pub const CRDLY: ::c_int = 0o0003000;
243250
pub const CREAD: ::tcflag_t = 0x00000080;
244251
pub const PARENB: ::tcflag_t = 0x00000100;
245252
pub const PARODD: ::tcflag_t = 0x00000200;

0 commit comments

Comments
 (0)