Skip to content

Commit 1f1f9d4

Browse files
committed
Add more termios output flags
1 parent 333dfc0 commit 1f1f9d4

File tree

17 files changed

+170
-0
lines changed

17 files changed

+170
-0
lines changed

src/unix/bsd/freebsdlike/freebsd/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,10 @@ pub const AT_SYMLINK_NOFOLLOW: ::c_int = 0x200;
517517
pub const AT_SYMLINK_FOLLOW: ::c_int = 0x400;
518518
pub const AT_REMOVEDIR: ::c_int = 0x800;
519519

520+
pub const TABDLY: ::tcflag_t = 0x00000004;
521+
pub const TAB0: ::tcflag_t = 0x00000000;
522+
pub const TAB3: ::tcflag_t = 0x00000004;
523+
520524
extern {
521525
pub fn __error() -> *mut ::c_int;
522526

src/unix/bsd/freebsdlike/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -861,6 +861,7 @@ pub const EXTB: speed_t = 38400;
861861
pub const SEM_FAILED: *mut sem_t = 0 as *mut sem_t;
862862

863863
pub const CRTSCTS: ::tcflag_t = 0x00030000;
864+
pub const OCRNL: ::tcflag_t = 0x10;
864865

865866
f! {
866867
pub fn WIFCONTINUED(status: ::c_int) -> bool {

src/unix/bsd/netbsdlike/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,8 @@ pub const EXTB: speed_t = 38400;
538538

539539
pub const SEM_FAILED: *mut sem_t = 0 as *mut sem_t;
540540

541+
pub const OCRNL: ::tcflag_t = 0x10;
542+
541543
f! {
542544
pub fn WSTOPSIG(status: ::c_int) -> ::c_int {
543545
status >> 8

src/unix/bsd/netbsdlike/openbsdlike/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,10 @@ pub const KI_WMESGLEN: ::c_int = 8;
460460
pub const KI_MAXLOGNAME: ::c_int = 32;
461461
pub const KI_EMULNAMELEN: ::c_int = 8;
462462

463+
pub const OLCUC: ::tcflag_t = 0x20;
464+
pub const ONOCR: ::tcflag_t = 0x40;
465+
pub const ONLRET: ::tcflag_t = 0x80;
466+
463467
extern {
464468
pub fn dirfd(dirp: *mut ::DIR) -> ::c_int;
465469
pub fn getnameinfo(sa: *const ::sockaddr,

src/unix/haiku/mod.rs

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -686,6 +686,35 @@ pub const P_ALL: idtype_t = 0;
686686
pub const P_PID: idtype_t = 1;
687687
pub const P_PGID: idtype_t = 2;
688688

689+
pub const OLCUC: ::tcflag_t = 0o000002;
690+
pub const OCRNL: ::tcflag_t = 0o000010;
691+
pub const ONOCR: ::tcflag_t = 0o000020;
692+
pub const ONLRET: ::tcflag_t = 0o000040;
693+
pub const OFILL: ::tcflag_t = 0o000100;
694+
pub const OFDEL: ::tcflag_t = 0o000200;
695+
pub const NLDLY: ::tcflag_t = 0o000400;
696+
pub const NL0: ::tcflag_t = 0o000000;
697+
pub const NL1: ::tcflag_t = 0o000400;
698+
pub const CRDLY: ::tcflag_t = 0o003000;
699+
pub const CR0: ::tcflag_t = 0o000000;
700+
pub const CR1: ::tcflag_t = 0o001000;
701+
pub const CR2: ::tcflag_t = 0o002000;
702+
pub const CR3: ::tcflag_t = 0o003000;
703+
pub const TABDLY: ::tcflag_t = 0o014000;
704+
pub const TAB0: ::tcflag_t = 0o000000;
705+
pub const TAB1: ::tcflag_t = 0o004000;
706+
pub const TAB2: ::tcflag_t = 0o010000;
707+
pub const TAB3: ::tcflag_t = 0o014000;
708+
pub const BSDLY: ::tcflag_t = 0o020000;
709+
pub const BS0: ::tcflag_t = 0o000000;
710+
pub const BS1: ::tcflag_t = 0o020000;
711+
pub const FFDLY: ::tcflag_t = 0o100000;
712+
pub const FF0: ::tcflag_t = 0o000000;
713+
pub const FF1: ::tcflag_t = 0o100000;
714+
pub const VTDLY: ::tcflag_t = 0o040000;
715+
pub const VT0: ::tcflag_t = 0o000000;
716+
pub const VT1: ::tcflag_t = 0o040000;
717+
689718
f! {
690719
pub fn FD_CLR(fd: ::c_int, set: *mut fd_set) -> () {
691720
let fd = fd as usize;

src/unix/notbsd/android/mod.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,7 @@ pub const CBAUD: ::tcflag_t = 0o0010017;
590590
pub const TAB1: ::tcflag_t = 0x00000800;
591591
pub const TAB2: ::tcflag_t = 0x00001000;
592592
pub const TAB3: ::tcflag_t = 0x00001800;
593+
pub const NL1: ::tcflag_t = 0x00000100;
593594
pub const CR1: ::tcflag_t = 0x00000200;
594595
pub const CR2: ::tcflag_t = 0x00000400;
595596
pub const CR3: ::tcflag_t = 0x00000600;
@@ -626,6 +627,14 @@ pub const ISIG: ::tcflag_t = 0x00000001;
626627
pub const ICANON: ::tcflag_t = 0x00000002;
627628
pub const PENDIN: ::tcflag_t = 0x00004000;
628629
pub const NOFLSH: ::tcflag_t = 0x00000080;
630+
pub const OLCUC: ::tcflag_t = 0o000002;
631+
pub const NLDLY: ::tcflag_t = 0o000400;
632+
pub const CRDLY: ::tcflag_t = 0o003000;
633+
pub const TABDLY: ::tcflag_t = 0o014000;
634+
pub const BSDLY: ::tcflag_t = 0o020000;
635+
pub const FFDLY: ::tcflag_t = 0o100000;
636+
pub const VTDLY: ::tcflag_t = 0o040000;
637+
pub const XTABS: ::tcflag_t = 0o014000;
629638

630639
pub const B0: ::speed_t = 0o000000;
631640
pub const B50: ::speed_t = 0o000001;

src/unix/notbsd/linux/mips/mod.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,7 @@ pub const CBAUD: ::tcflag_t = 0o0010017;
454454
pub const TAB1: ::tcflag_t = 0x00000800;
455455
pub const TAB2: ::tcflag_t = 0x00001000;
456456
pub const TAB3: ::tcflag_t = 0x00001800;
457+
pub const NL1: ::tcflag_t = 0x00000100;
457458
pub const CR1: ::tcflag_t = 0x00000200;
458459
pub const CR2: ::tcflag_t = 0x00000400;
459460
pub const CR3: ::tcflag_t = 0x00000600;
@@ -490,6 +491,16 @@ pub const ISIG: ::tcflag_t = 0x00000001;
490491
pub const ICANON: ::tcflag_t = 0x00000002;
491492
pub const PENDIN: ::tcflag_t = 0x00004000;
492493
pub const NOFLSH: ::tcflag_t = 0x00000080;
494+
pub const CIBAUD: ::tcflag_t = 0o02003600000;
495+
pub const CBAUDEX: ::tcflag_t = 0o010000;
496+
pub const OLCUC: ::tcflag_t = 0o000002;
497+
pub const NLDLY: ::tcflag_t = 0o000400;
498+
pub const CRDLY: ::tcflag_t = 0o003000;
499+
pub const TABDLY: ::tcflag_t = 0o014000;
500+
pub const BSDLY: ::tcflag_t = 0o020000;
501+
pub const FFDLY: ::tcflag_t = 0o100000;
502+
pub const VTDLY: ::tcflag_t = 0o040000;
503+
pub const XTABS: ::tcflag_t = 0o014000;
493504

494505
pub const B0: ::speed_t = 0o000000;
495506
pub const B50: ::speed_t = 0o000001;

src/unix/notbsd/linux/musl/mod.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ pub const CBAUD: ::tcflag_t = 0o0010017;
244244
pub const TAB1: ::tcflag_t = 0x00000800;
245245
pub const TAB2: ::tcflag_t = 0x00001000;
246246
pub const TAB3: ::tcflag_t = 0x00001800;
247+
pub const NL1: ::tcflag_t = 0x00000100;
247248
pub const CR1: ::tcflag_t = 0x00000200;
248249
pub const CR2: ::tcflag_t = 0x00000400;
249250
pub const CR3: ::tcflag_t = 0x00000600;
@@ -280,6 +281,17 @@ pub const ISIG: ::tcflag_t = 0x00000001;
280281
pub const ICANON: ::tcflag_t = 0x00000002;
281282
pub const PENDIN: ::tcflag_t = 0x00004000;
282283
pub const NOFLSH: ::tcflag_t = 0x00000080;
284+
pub const CMSPAR: ::tcflag_t = 0o10000000000;
285+
pub const CIBAUD: ::tcflag_t = 0o02003600000;
286+
pub const CBAUDEX: ::tcflag_t = 0o010000;
287+
pub const OLCUC: ::tcflag_t = 0o000002;
288+
pub const NLDLY: ::tcflag_t = 0o000400;
289+
pub const CRDLY: ::tcflag_t = 0o003000;
290+
pub const TABDLY: ::tcflag_t = 0o014000;
291+
pub const BSDLY: ::tcflag_t = 0o020000;
292+
pub const FFDLY: ::tcflag_t = 0o100000;
293+
pub const VTDLY: ::tcflag_t = 0o040000;
294+
pub const XTABS: ::tcflag_t = 0o014000;
283295

284296
pub const B0: ::speed_t = 0o000000;
285297
pub const B50: ::speed_t = 0o000001;

src/unix/notbsd/linux/other/b32/arm.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ pub const CBAUD: ::tcflag_t = 0o0010017;
105105
pub const TAB1: ::tcflag_t = 0x00000800;
106106
pub const TAB2: ::tcflag_t = 0x00001000;
107107
pub const TAB3: ::tcflag_t = 0x00001800;
108+
pub const NL1: ::tcflag_t = 0x00000100;
108109
pub const CR1: ::tcflag_t = 0x00000200;
109110
pub const CR2: ::tcflag_t = 0x00000400;
110111
pub const CR3: ::tcflag_t = 0x00000600;
@@ -141,6 +142,16 @@ pub const ISIG: ::tcflag_t = 0x00000001;
141142
pub const ICANON: ::tcflag_t = 0x00000002;
142143
pub const PENDIN: ::tcflag_t = 0x00004000;
143144
pub const NOFLSH: ::tcflag_t = 0x00000080;
145+
pub const CIBAUD: ::tcflag_t = 0o02003600000;
146+
pub const CBAUDEX: ::tcflag_t = 0o010000;
147+
pub const OLCUC: ::tcflag_t = 0o000002;
148+
pub const NLDLY: ::tcflag_t = 0o000400;
149+
pub const CRDLY: ::tcflag_t = 0o003000;
150+
pub const TABDLY: ::tcflag_t = 0o014000;
151+
pub const BSDLY: ::tcflag_t = 0o020000;
152+
pub const FFDLY: ::tcflag_t = 0o100000;
153+
pub const VTDLY: ::tcflag_t = 0o040000;
154+
pub const XTABS: ::tcflag_t = 0o014000;
144155

145156
pub const B0: ::speed_t = 0o000000;
146157
pub const B50: ::speed_t = 0o000001;

src/unix/notbsd/linux/other/b32/powerpc.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ pub const CBAUD: ::tcflag_t = 0xff;
108108
pub const TAB1: ::tcflag_t = 0x400;
109109
pub const TAB2: ::tcflag_t = 0x800;
110110
pub const TAB3: ::tcflag_t = 0xc00;
111+
pub const NL1: ::tcflag_t = 0x00000100;
111112
pub const CR1: ::tcflag_t = 0x1000;
112113
pub const CR2: ::tcflag_t = 0x2000;
113114
pub const CR3: ::tcflag_t = 0x3000;
@@ -144,6 +145,14 @@ pub const ISIG: ::tcflag_t = 0x80;
144145
pub const ICANON: ::tcflag_t = 0x100;
145146
pub const PENDIN: ::tcflag_t = 0x20000000;
146147
pub const NOFLSH: ::tcflag_t = 0x80000000;
148+
pub const OLCUC: ::tcflag_t = 0o000004;
149+
pub const NLDLY: ::tcflag_t = 0o001400;
150+
pub const CRDLY: ::tcflag_t = 0o030000;
151+
pub const TABDLY: ::tcflag_t = 0o006000;
152+
pub const BSDLY: ::tcflag_t = 0o100000;
153+
pub const FFDLY: ::tcflag_t = 0o040000;
154+
pub const VTDLY: ::tcflag_t = 0o200000;
155+
pub const XTABS: ::tcflag_t = 0o006000;
147156

148157
pub const B0: ::speed_t = 0o000000;
149158
pub const B50: ::speed_t = 0o000001;

src/unix/notbsd/linux/other/b32/x86.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ pub const CBAUD: ::tcflag_t = 0o0010017;
211211
pub const TAB1: ::tcflag_t = 0x00000800;
212212
pub const TAB2: ::tcflag_t = 0x00001000;
213213
pub const TAB3: ::tcflag_t = 0x00001800;
214+
pub const NL1: ::tcflag_t = 0x00000100;
214215
pub const CR1: ::tcflag_t = 0x00000200;
215216
pub const CR2: ::tcflag_t = 0x00000400;
216217
pub const CR3: ::tcflag_t = 0x00000600;
@@ -247,6 +248,16 @@ pub const ISIG: ::tcflag_t = 0x00000001;
247248
pub const ICANON: ::tcflag_t = 0x00000002;
248249
pub const PENDIN: ::tcflag_t = 0x00004000;
249250
pub const NOFLSH: ::tcflag_t = 0x00000080;
251+
pub const CIBAUD: ::tcflag_t = 0o02003600000;
252+
pub const CBAUDEX: ::tcflag_t = 0o010000;
253+
pub const OLCUC: ::tcflag_t = 0o000002;
254+
pub const NLDLY: ::tcflag_t = 0o000400;
255+
pub const CRDLY: ::tcflag_t = 0o003000;
256+
pub const TABDLY: ::tcflag_t = 0o014000;
257+
pub const BSDLY: ::tcflag_t = 0o020000;
258+
pub const FFDLY: ::tcflag_t = 0o100000;
259+
pub const VTDLY: ::tcflag_t = 0o040000;
260+
pub const XTABS: ::tcflag_t = 0o014000;
250261

251262
pub const B0: ::speed_t = 0o000000;
252263
pub const B50: ::speed_t = 0o000001;

src/unix/notbsd/linux/other/b64/aarch64.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ pub const CBAUD: ::tcflag_t = 0o0010017;
349349
pub const TAB1: ::tcflag_t = 0x00000800;
350350
pub const TAB2: ::tcflag_t = 0x00001000;
351351
pub const TAB3: ::tcflag_t = 0x00001800;
352+
pub const NL1: ::tcflag_t = 0x00000100;
352353
pub const CR1: ::tcflag_t = 0x00000200;
353354
pub const CR2: ::tcflag_t = 0x00000400;
354355
pub const CR3: ::tcflag_t = 0x00000600;
@@ -385,6 +386,16 @@ pub const ISIG: ::tcflag_t = 0x00000001;
385386
pub const ICANON: ::tcflag_t = 0x00000002;
386387
pub const PENDIN: ::tcflag_t = 0x00004000;
387388
pub const NOFLSH: ::tcflag_t = 0x00000080;
389+
pub const CIBAUD: ::tcflag_t = 0o02003600000;
390+
pub const CBAUDEX: ::tcflag_t = 0o010000;
391+
pub const OLCUC: ::tcflag_t = 0o000002;
392+
pub const NLDLY: ::tcflag_t = 0o000400;
393+
pub const CRDLY: ::tcflag_t = 0o003000;
394+
pub const TABDLY: ::tcflag_t = 0o014000;
395+
pub const BSDLY: ::tcflag_t = 0o020000;
396+
pub const FFDLY: ::tcflag_t = 0o100000;
397+
pub const VTDLY: ::tcflag_t = 0o040000;
398+
pub const XTABS: ::tcflag_t = 0o014000;
388399

389400
pub const B0: ::speed_t = 0o000000;
390401
pub const B50: ::speed_t = 0o000001;

src/unix/notbsd/linux/other/b64/powerpc64.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ pub const CBAUD: ::tcflag_t = 0xff;
347347
pub const TAB1: ::tcflag_t = 0x400;
348348
pub const TAB2: ::tcflag_t = 0x800;
349349
pub const TAB3: ::tcflag_t = 0xc00;
350+
pub const NL1: ::tcflag_t = 0x00000100;
350351
pub const CR1: ::tcflag_t = 0x1000;
351352
pub const CR2: ::tcflag_t = 0x2000;
352353
pub const CR3: ::tcflag_t = 0x3000;
@@ -383,6 +384,14 @@ pub const ISIG: ::tcflag_t = 0x80;
383384
pub const ICANON: ::tcflag_t = 0x100;
384385
pub const PENDIN: ::tcflag_t = 0x20000000;
385386
pub const NOFLSH: ::tcflag_t = 0x80000000;
387+
pub const OLCUC: ::tcflag_t = 0o000004;
388+
pub const NLDLY: ::tcflag_t = 0o001400;
389+
pub const CRDLY: ::tcflag_t = 0o030000;
390+
pub const TABDLY: ::tcflag_t = 0o006000;
391+
pub const BSDLY: ::tcflag_t = 0o100000;
392+
pub const FFDLY: ::tcflag_t = 0o040000;
393+
pub const VTDLY: ::tcflag_t = 0o200000;
394+
pub const XTABS: ::tcflag_t = 0o006000;
386395

387396
pub const B0: ::speed_t = 0o000000;
388397
pub const B50: ::speed_t = 0o000001;

src/unix/notbsd/linux/other/b64/sparc64.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ pub const CBAUD: ::tcflag_t = 0x0000100f;
306306
pub const TAB1: ::tcflag_t = 0x800;
307307
pub const TAB2: ::tcflag_t = 0x1000;
308308
pub const TAB3: ::tcflag_t = 0x1800;
309+
pub const NL1: ::tcflag_t = 0x00000100;
309310
pub const CR1: ::tcflag_t = 0x200;
310311
pub const CR2: ::tcflag_t = 0x400;
311312
pub const CR3: ::tcflag_t = 0x600;
@@ -342,6 +343,16 @@ pub const ISIG: ::tcflag_t = 0x1;
342343
pub const ICANON: ::tcflag_t = 0x2;
343344
pub const PENDIN: ::tcflag_t = 0x4000;
344345
pub const NOFLSH: ::tcflag_t = 0x80;
346+
pub const CIBAUD: ::tcflag_t = 0o02003600000;
347+
pub const CBAUDEX: ::tcflag_t = 0x00001000;
348+
pub const OLCUC: ::tcflag_t = 0o000002;
349+
pub const NLDLY: ::tcflag_t = 0o000400;
350+
pub const CRDLY: ::tcflag_t = 0o003000;
351+
pub const TABDLY: ::tcflag_t = 0o014000;
352+
pub const BSDLY: ::tcflag_t = 0o020000;
353+
pub const FFDLY: ::tcflag_t = 0o100000;
354+
pub const VTDLY: ::tcflag_t = 0o040000;
355+
pub const XTABS: ::tcflag_t = 0o014000;
345356

346357
pub const VEOL: usize = 5;
347358
pub const VEOL2: usize = 6;

src/unix/notbsd/linux/other/b64/x86_64.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,7 @@ pub const CBAUD: ::tcflag_t = 0o0010017;
469469
pub const TAB1: ::tcflag_t = 0x00000800;
470470
pub const TAB2: ::tcflag_t = 0x00001000;
471471
pub const TAB3: ::tcflag_t = 0x00001800;
472+
pub const NL1: ::tcflag_t = 0x00000100;
472473
pub const CR1: ::tcflag_t = 0x00000200;
473474
pub const CR2: ::tcflag_t = 0x00000400;
474475
pub const CR3: ::tcflag_t = 0x00000600;
@@ -505,6 +506,16 @@ pub const ISIG: ::tcflag_t = 0x00000001;
505506
pub const ICANON: ::tcflag_t = 0x00000002;
506507
pub const PENDIN: ::tcflag_t = 0x00004000;
507508
pub const NOFLSH: ::tcflag_t = 0x00000080;
509+
pub const CIBAUD: ::tcflag_t = 0o02003600000;
510+
pub const CBAUDEX: ::tcflag_t = 0o010000;
511+
pub const OLCUC: ::tcflag_t = 0o000002;
512+
pub const NLDLY: ::tcflag_t = 0o000400;
513+
pub const CRDLY: ::tcflag_t = 0o003000;
514+
pub const TABDLY: ::tcflag_t = 0o014000;
515+
pub const BSDLY: ::tcflag_t = 0o020000;
516+
pub const FFDLY: ::tcflag_t = 0o100000;
517+
pub const VTDLY: ::tcflag_t = 0o040000;
518+
pub const XTABS: ::tcflag_t = 0o014000;
508519

509520
pub const B0: ::speed_t = 0o000000;
510521
pub const B50: ::speed_t = 0o000001;

src/unix/notbsd/linux/s390x.rs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,26 @@ pub const LINUX_REBOOT_CMD_KEXEC: ::c_int = 0x45584543;
692692
pub const SYS_gettid: ::c_long = 236;
693693
pub const SYS_perf_event_open: ::c_long = 331;
694694

695+
pub const CMSPAR: ::tcflag_t = 0o10000000000;
696+
pub const OLCUC: ::tcflag_t = 0o000002;
697+
pub const NLDLY: ::tcflag_t = 0o000400;
698+
pub const NL1: ::tcflag_t = 0x00000100;
699+
pub const CRDLY: ::tcflag_t = 0o003000;
700+
pub const CR1: ::tcflag_t = 0x00000200;
701+
pub const CR2: ::tcflag_t = 0x00000400;
702+
pub const CR3: ::tcflag_t = 0x00000600;
703+
pub const TABDLY: ::tcflag_t = 0o014000;
704+
pub const TAB1: ::tcflag_t = 0x00000800;
705+
pub const TAB2: ::tcflag_t = 0x00001000;
706+
pub const TAB3: ::tcflag_t = 0x00001800;
707+
pub const BSDLY: ::tcflag_t = 0o020000;
708+
pub const BS1: ::tcflag_t = 0x00002000;
709+
pub const FFDLY: ::tcflag_t = 0o100000;
710+
pub const FF1: ::tcflag_t = 0x00008000;
711+
pub const VTDLY: ::tcflag_t = 0o040000;
712+
pub const VT1: ::tcflag_t = 0x00004000;
713+
pub const XTABS: ::tcflag_t = 0o014000;
714+
695715
#[link(name = "util")]
696716
extern {
697717
pub fn sysctl(name: *mut ::c_int,

src/unix/notbsd/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -673,6 +673,11 @@ pub const OPOST: ::tcflag_t = 0x1;
673673
pub const CS5: ::tcflag_t = 0x00000000;
674674
pub const CRTSCTS: ::tcflag_t = 0x80000000;
675675
pub const ECHO: ::tcflag_t = 0x00000008;
676+
pub const OCRNL: ::tcflag_t = 0o000010;
677+
pub const ONOCR: ::tcflag_t = 0o000020;
678+
pub const ONLRET: ::tcflag_t = 0o000040;
679+
pub const OFILL: ::tcflag_t = 0o000100;
680+
pub const OFDEL: ::tcflag_t = 0o000200;
676681
pub const NL0: ::tcflag_t = 0o000000;
677682
pub const CR0: ::tcflag_t = 0o000000;
678683
pub const TAB0: ::tcflag_t = 0o000000;

0 commit comments

Comments
 (0)