Skip to content

Commit 6ce007f

Browse files
committed
add FIO* for freebsd
1 parent 22b08f8 commit 6ce007f

File tree

1 file changed

+13
-0
lines changed
  • src/unix/bsd/freebsdlike/freebsd

1 file changed

+13
-0
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,19 @@ pub const TIOCSIG: ::c_uint = 0x2004745f;
447447
pub const TIOCM_DCD: ::c_int = 0x40;
448448
pub const H4DISC: ::c_int = 0x7;
449449

450+
pub const FIONCLEX: ::c_ulong = 0x20006602;
451+
pub const FIONREAD: ::c_ulong = 0x4004667f;
452+
pub const FIOASYNC: ::c_ulong = 0x8004667d;
453+
pub const FIOSETOWN: ::c_ulong = 0x8004667c;
454+
pub const FIOGETOWN: ::c_ulong = 0x4004667b;
455+
pub const FIODTYPE: ::c_ulong = 0x4004667a;
456+
pub const FIOGETLBA: ::c_ulong = 0x40046679;
457+
pub const FIODGNAME: ::c_ulong = 0x80106678;
458+
pub const FIONWRITE: ::c_ulong = 0x40046677;
459+
pub const FIONSPACE: ::c_ulong = 0x40046676;
460+
pub const FIOSEEKDATA: ::c_ulong = 0xc0086661;
461+
pub const FIOSEEKHOLE: ::c_ulong = 0xc0086662;
462+
450463
pub const JAIL_API_VERSION: u32 = 2;
451464
pub const JAIL_CREATE: ::c_int = 0x01;
452465
pub const JAIL_UPDATE: ::c_int = 0x02;

0 commit comments

Comments
 (0)