Skip to content

Commit a75eb73

Browse files
committed
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
1 parent d58c1f4 commit a75eb73

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
@@ -1064,6 +1064,7 @@ IP_XFRM_POLICY
10641064
ISIG
10651065
ISOFS_SUPER_MAGIC
10661066
ISTRIP
1067+
IUCLC
10671068
IUTF8
10681069
IXANY
10691070
IXOFF

libc-test/semver/linux.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,6 +1305,7 @@ IP_XFRM_POLICY
13051305
ITIMER_PROF
13061306
ITIMER_REAL
13071307
ITIMER_VIRTUAL
1308+
IUCLC
13081309
IUTF8
13091310
IWEVASSOCREQIE
13101311
IWEVASSOCRESPIE

src/unix/linux_like/android/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1389,6 +1389,7 @@ pub const VSTART: usize = 8;
13891389
pub const VSTOP: usize = 9;
13901390
pub const VDISCARD: usize = 13;
13911391
pub const VTIME: usize = 5;
1392+
pub const IUCLC: crate::tcflag_t = 0x00000200;
13921393
pub const IXON: crate::tcflag_t = 0x00000400;
13931394
pub const IXOFF: crate::tcflag_t = 0x00001000;
13941395
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)