summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-02-28 17:14:12 +0000
committerbors <bors@rust-lang.org>2017-02-28 17:14:12 +0000
commit331b179a7ba2a44d4b3192efdf46cc2ea9db9f75 (patch)
tree27ac0aec81a94f429c7b7f4f8c2cc7a51c45cf78
parent5dd2f3917b3fa842c9c423850a9060dfcfdd916d (diff)
parentcda0f200da92e4e643f96138fcdb8d2defbed785 (diff)
downloadrust-libc-331b179a7ba2a44d4b3192efdf46cc2ea9db9f75.tar.gz
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.
-rw-r--r--src/unix/bsd/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/unix/bsd/mod.rs b/src/unix/bsd/mod.rs
index 2f7024f827..24d4d4e21a 100644
--- a/src/unix/bsd/mod.rs
+++ b/src/unix/bsd/mod.rs
@@ -242,6 +242,8 @@ pub const IXANY: ::tcflag_t = 0x00000800;
pub const IMAXBEL: ::tcflag_t = 0x00002000;
pub const OPOST: ::tcflag_t = 0x1;
pub const ONLCR: ::tcflag_t = 0x2;
+pub const OXTABS: ::tcflag_t = 0x4;
+pub const ONOEOT: ::tcflag_t = 0x8;
pub const CSIZE: ::tcflag_t = 0x00000300;
pub const CS5: ::tcflag_t = 0x00000000;
pub const CS6: ::tcflag_t = 0x00000100;