Skip to content

Commit 88d2190

Browse files
3v1n0tgross35
authored andcommitted
linux, android: Add definition for IUCLC
This is defined in termios-c_iflag.h (or termbits.h) and it's shared across all the linux archs, even though it's not POSIX (backport <rust-lang#4846>) (cherry picked from commit fb8c00e)
1 parent 686703c commit 88d2190

File tree

7 files changed

+7
-0
lines changed

7 files changed

+7
-0
lines changed

libc-test/semver/android.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1088,6 +1088,7 @@ IP_XFRM_POLICY
10881088
ISIG
10891089
ISOFS_SUPER_MAGIC
10901090
ISTRIP
1091+
IUCLC
10911092
IUTF8
10921093
IXANY
10931094
IXOFF

libc-test/semver/linux.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1302,6 +1302,7 @@ IP_XFRM_POLICY
13021302
ITIMER_PROF
13031303
ITIMER_REAL
13041304
ITIMER_VIRTUAL
1305+
IUCLC
13051306
IUTF8
13061307
IWEVASSOCREQIE
13071308
IWEVASSOCRESPIE

src/unix/linux_like/android/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1427,6 +1427,7 @@ pub const VSTART: usize = 8;
14271427
pub const VSTOP: usize = 9;
14281428
pub const VDISCARD: usize = 13;
14291429
pub const VTIME: usize = 5;
1430+
pub const IUCLC: crate::tcflag_t = 0x00000200;
14301431
pub const IXON: crate::tcflag_t = 0x00000400;
14311432
pub const IXOFF: crate::tcflag_t = 0x00001000;
14321433
pub const ONLCR: crate::tcflag_t = 0x4;

src/unix/linux_like/linux/arch/generic/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ pub const TIOCM_DSR: c_int = 0x100;
272272

273273
pub const BOTHER: crate::speed_t = 0o010000;
274274
pub const IBSHIFT: crate::tcflag_t = 16;
275+
pub const IUCLC: crate::tcflag_t = 0o0001000;
275276

276277
// RLIMIT Constants
277278

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ pub const TIOCM_DSR: c_int = 0x400;
242242

243243
pub const BOTHER: crate::speed_t = 0o010000;
244244
pub const IBSHIFT: crate::tcflag_t = 16;
245+
pub const IUCLC: crate::tcflag_t = 0o0001000;
245246

246247
// RLIMIT Constants
247248

src/unix/linux_like/linux/arch/powerpc/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ pub const TIOCM_DSR: c_int = 0x100;
227227

228228
pub const BOTHER: crate::speed_t = 0o0037;
229229
pub const IBSHIFT: crate::tcflag_t = 16;
230+
pub const IUCLC: crate::tcflag_t = 0o0010000;
230231

231232
// RLIMIT Constants
232233

src/unix/linux_like/linux/arch/sparc/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ pub const TIOCM_DSR: c_int = 0x100;
213213

214214
pub const BOTHER: crate::speed_t = 0x1000;
215215
pub const IBSHIFT: crate::tcflag_t = 16;
216+
pub const IUCLC: crate::tcflag_t = 0o0001000;
216217

217218
// RLIMIT Constants
218219

0 commit comments

Comments
 (0)