Skip to content

Commit 331b179

Browse files
committed
Auto merge of #542 - Susurrus:master, r=alexcrichton
Add OXTABS and ONOEOT for BSD systems According to all references I could find these are BSD extensions to POSIX and are also supported on OS X.
2 parents 5dd2f39 + cda0f20 commit 331b179

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/unix/bsd/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,8 @@ pub const IXANY: ::tcflag_t = 0x00000800;
242242
pub const IMAXBEL: ::tcflag_t = 0x00002000;
243243
pub const OPOST: ::tcflag_t = 0x1;
244244
pub const ONLCR: ::tcflag_t = 0x2;
245+
pub const OXTABS: ::tcflag_t = 0x4;
246+
pub const ONOEOT: ::tcflag_t = 0x8;
245247
pub const CSIZE: ::tcflag_t = 0x00000300;
246248
pub const CS5: ::tcflag_t = 0x00000000;
247249
pub const CS6: ::tcflag_t = 0x00000100;

0 commit comments

Comments
 (0)