Auto merge of #494 - johalun:dragonfly-ttycom, r=alexcrichton

Added some DragonFly-only ttycom.h constants.

I overlooked some DragonFly-only constants in the last PR.
This commit is contained in:
bors 2017-01-17 03:05:55 +00:00
commit efeb501c97
1 changed files with 6 additions and 0 deletions

View File

@ -371,6 +371,12 @@ pub const LC_ALL_MASK: ::c_int = LC_COLLATE_MASK
| LC_TIME_MASK;
pub const TIOCSIG: ::c_uint = 0x2000745f;
pub const BTUARTDISC: ::c_int = 0x7;
pub const TIOCDCDTIMESTAMP: ::c_uint = 0x40107458;
pub const TIOCISPTMASTER: ::c_uint = 0x20007455;
pub const TIOCMODG: ::c_uint = 0x40047403;
pub const TIOCMODS: ::c_ulong = 0x80047404;
pub const TIOCREMOTE: ::c_ulong = 0x80047469;
extern {
pub fn mprotect(addr: *mut ::c_void, len: ::size_t, prot: ::c_int)