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.
This commit is contained in:
bors 2017-02-28 17:14:12 +00:00
commit 331b179a7b

View File

@ -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;