Skip to content

Commit efeb501

Browse files
committed
Auto merge of rust-lang#494 - johalun:dragonfly-ttycom, r=alexcrichton
Added some DragonFly-only ttycom.h constants. I overlooked some DragonFly-only constants in the last PR.
2 parents d1a7591 + a3634a5 commit efeb501

File tree

1 file changed

+6
-0
lines changed
  • src/unix/bsd/freebsdlike/dragonfly

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,12 @@ pub const LC_ALL_MASK: ::c_int = LC_COLLATE_MASK
371371
| LC_TIME_MASK;
372372

373373
pub const TIOCSIG: ::c_uint = 0x2000745f;
374+
pub const BTUARTDISC: ::c_int = 0x7;
375+
pub const TIOCDCDTIMESTAMP: ::c_uint = 0x40107458;
376+
pub const TIOCISPTMASTER: ::c_uint = 0x20007455;
377+
pub const TIOCMODG: ::c_uint = 0x40047403;
378+
pub const TIOCMODS: ::c_ulong = 0x80047404;
379+
pub const TIOCREMOTE: ::c_ulong = 0x80047469;
374380

375381
extern {
376382
pub fn mprotect(addr: *mut ::c_void, len: ::size_t, prot: ::c_int)

0 commit comments

Comments
 (0)