summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiaobo Liu <cppcoffee@gmail.com>2023-01-29 11:34:10 +0800
committerXiaobo Liu <cppcoffee@gmail.com>2023-01-29 11:34:10 +0800
commit5f02b548d810df48dd002bc696bdffdd4a7a95b1 (patch)
tree7232edfddfc13680b56b024ac91a061c9b812c58
parent4d072b049d38e651dd037b1b9acfaa090e68ca33 (diff)
downloadrust-libc-5f02b548d810df48dd002bc696bdffdd4a7a95b1.tar.gz
uclibc/mips: add more missing constant
Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
-rw-r--r--src/unix/linux_like/linux/uclibc/mips/mod.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/unix/linux_like/linux/uclibc/mips/mod.rs b/src/unix/linux_like/linux/uclibc/mips/mod.rs
index a5cb2bbe47..10b917170e 100644
--- a/src/unix/linux_like/linux/uclibc/mips/mod.rs
+++ b/src/unix/linux_like/linux/uclibc/mips/mod.rs
@@ -219,27 +219,34 @@ pub const CIBAUD: ::tcflag_t = 0o002003600000;
pub const TAB1: ::tcflag_t = 0x00000800;
pub const TAB2: ::tcflag_t = 0x00001000;
pub const TAB3: ::tcflag_t = 0x00001800;
+pub const TABDLY: ::tcflag_t = 0o0014000;
pub const CR1: ::tcflag_t = 0x00000200;
pub const CR2: ::tcflag_t = 0x00000400;
pub const CR3: ::tcflag_t = 0x00000600;
pub const FF1: ::tcflag_t = 0x00008000;
pub const BS1: ::tcflag_t = 0x00002000;
+pub const BSDLY: ::tcflag_t = 0o0020000;
pub const VT1: ::tcflag_t = 0x00004000;
pub const VWERASE: usize = 14;
+pub const XTABS: ::tcflag_t = 0o0014000;
pub const VREPRINT: usize = 12;
pub const VSUSP: usize = 10;
+pub const VSWTC: usize = 7;
+pub const VTDLY: ::c_int = 0o0040000;
pub const VSTART: usize = 8;
pub const VSTOP: usize = 9;
pub const VDISCARD: usize = 13;
pub const VTIME: usize = 5;
pub const IXON: ::tcflag_t = 0x00000400;
pub const IXOFF: ::tcflag_t = 0x00001000;
+pub const OLCUC: ::tcflag_t = 0o0000002;
pub const ONLCR: ::tcflag_t = 0x4;
pub const CSIZE: ::tcflag_t = 0x00000030;
pub const CS6: ::tcflag_t = 0x00000010;
pub const CS7: ::tcflag_t = 0x00000020;
pub const CS8: ::tcflag_t = 0x00000030;
pub const CSTOPB: ::tcflag_t = 0x00000040;
+pub const CRDLY: ::c_int = 0o0003000;
pub const CREAD: ::tcflag_t = 0x00000080;
pub const PARENB: ::tcflag_t = 0x00000100;
pub const PARODD: ::tcflag_t = 0x00000200;