Skip to content

Commit 32948a9

Browse files
committed
Add BOTHER to Android & Linux
1 parent 1fbd197 commit 32948a9

File tree

9 files changed

+9
-0
lines changed

9 files changed

+9
-0
lines changed

Diff for: src/unix/notbsd/android/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -733,6 +733,7 @@ pub const B19200: ::speed_t = 0o000016;
733733
pub const B38400: ::speed_t = 0o000017;
734734
pub const EXTA: ::speed_t = B19200;
735735
pub const EXTB: ::speed_t = B38400;
736+
pub const BOTHER: ::speed_t = 0o010000;
736737
pub const B57600: ::speed_t = 0o010001;
737738
pub const B115200: ::speed_t = 0o010002;
738739
pub const B230400: ::speed_t = 0o010003;

Diff for: src/unix/notbsd/linux/mips/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,7 @@ pub const B19200: ::speed_t = 0o000016;
591591
pub const B38400: ::speed_t = 0o000017;
592592
pub const EXTA: ::speed_t = B19200;
593593
pub const EXTB: ::speed_t = B38400;
594+
pub const BOTHER: ::speed_t = 0o010000;
594595
pub const B57600: ::speed_t = 0o010001;
595596
pub const B115200: ::speed_t = 0o010002;
596597
pub const B230400: ::speed_t = 0o010003;

Diff for: src/unix/notbsd/linux/other/b32/arm.rs

+1
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ pub const B19200: ::speed_t = 0o000016;
175175
pub const B38400: ::speed_t = 0o000017;
176176
pub const EXTA: ::speed_t = B19200;
177177
pub const EXTB: ::speed_t = B38400;
178+
pub const BOTHER: ::speed_t = 0o010000;
178179
pub const B57600: ::speed_t = 0o010001;
179180
pub const B115200: ::speed_t = 0o010002;
180181
pub const B230400: ::speed_t = 0o010003;

Diff for: src/unix/notbsd/linux/other/b32/powerpc.rs

+1
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ pub const B2500000: ::speed_t = 0o0033;
187187
pub const B3000000: ::speed_t = 0o0034;
188188
pub const B3500000: ::speed_t = 0o0035;
189189
pub const B4000000: ::speed_t = 0o0036;
190+
pub const BOTHER: ::speed_t = 0o0037;
190191

191192
pub const VEOL: usize = 6;
192193
pub const VEOL2: usize = 8;

Diff for: src/unix/notbsd/linux/other/b32/x86.rs

+1
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ pub const B19200: ::speed_t = 0o000016;
273273
pub const B38400: ::speed_t = 0o000017;
274274
pub const EXTA: ::speed_t = B19200;
275275
pub const EXTB: ::speed_t = B38400;
276+
pub const BOTHER: ::speed_t = 0o010000;
276277
pub const B57600: ::speed_t = 0o010001;
277278
pub const B115200: ::speed_t = 0o010002;
278279
pub const B230400: ::speed_t = 0o010003;

Diff for: src/unix/notbsd/linux/other/b64/aarch64.rs

+1
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,7 @@ pub const B19200: ::speed_t = 0o000016;
415415
pub const B38400: ::speed_t = 0o000017;
416416
pub const EXTA: ::speed_t = B19200;
417417
pub const EXTB: ::speed_t = B38400;
418+
pub const BOTHER: ::speed_t = 0o010000;
418419
pub const B57600: ::speed_t = 0o010001;
419420
pub const B115200: ::speed_t = 0o010002;
420421
pub const B230400: ::speed_t = 0o010003;

Diff for: src/unix/notbsd/linux/other/b64/powerpc64.rs

+1
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,7 @@ pub const B2500000: ::speed_t = 0o0033;
427427
pub const B3000000: ::speed_t = 0o0034;
428428
pub const B3500000: ::speed_t = 0o0035;
429429
pub const B4000000: ::speed_t = 0o0036;
430+
pub const BOTHER: ::speed_t = 0o0037;
430431

431432
pub const VEOL: usize = 6;
432433
pub const VEOL2: usize = 8;

Diff for: src/unix/notbsd/linux/other/b64/x86_64.rs

+1
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,7 @@ pub const B19200: ::speed_t = 0o000016;
532532
pub const B38400: ::speed_t = 0o000017;
533533
pub const EXTA: ::speed_t = B19200;
534534
pub const EXTB: ::speed_t = B38400;
535+
pub const BOTHER: ::speed_t = 0o010000;
535536
pub const B57600: ::speed_t = 0o010001;
536537
pub const B115200: ::speed_t = 0o010002;
537538
pub const B230400: ::speed_t = 0o010003;

Diff for: src/unix/notbsd/linux/s390x.rs

+1
Original file line numberDiff line numberDiff line change
@@ -849,6 +849,7 @@ pub const PARODD: ::tcflag_t = 0o001000;
849849
pub const HUPCL: ::tcflag_t = 0o002000;
850850
pub const CLOCAL: ::tcflag_t = 0o004000;
851851
pub const CBAUDEX: ::tcflag_t = 0o010000;
852+
pub const BOTHER: ::speed_t = 0o010000;
852853
pub const B57600: ::speed_t = 0o010001;
853854
pub const B115200: ::speed_t = 0o010002;
854855
pub const B230400: ::speed_t = 0o010003;

0 commit comments

Comments
 (0)