Skip to content

Commit 2293748

Browse files
committed
Add FIODTYPE, FIGETLBA and FIODGNAME for DragonFly
1 parent a319b62 commit 2293748

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -540,9 +540,6 @@ pub const TIOCSIG: ::c_uint = 0x2004745f;
540540
pub const TIOCM_DCD: ::c_int = 0x40;
541541
pub const H4DISC: ::c_int = 0x7;
542542

543-
pub const FIODTYPE: ::c_ulong = 0x4004667a;
544-
pub const FIOGETLBA: ::c_ulong = 0x40046679;
545-
pub const FIODGNAME: ::c_ulong = 0x80106678;
546543
pub const FIONWRITE: ::c_ulong = 0x40046677;
547544
pub const FIONSPACE: ::c_ulong = 0x40046676;
548545
pub const FIOSEEKDATA: ::c_ulong = 0xc0086661;

src/unix/bsd/freebsdlike/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -997,6 +997,10 @@ pub const SLIPDISC: ::c_int = 0x4;
997997
pub const PPPDISC: ::c_int = 0x5;
998998
pub const NETGRAPHDISC: ::c_int = 0x6;
999999

1000+
pub const FIODTYPE: ::c_ulong = 0x4004667a;
1001+
pub const FIOGETLBA: ::c_ulong = 0x40046679;
1002+
pub const FIODGNAME: ::c_ulong = 0x80106678;
1003+
10001004
pub const B0: speed_t = 0;
10011005
pub const B50: speed_t = 50;
10021006
pub const B75: speed_t = 75;

0 commit comments

Comments
 (0)