Skip to content

Commit f97d3c4

Browse files
committed
add FIO* for netbsd
1 parent 6ce007f commit f97d3c4

File tree

1 file changed

+13
-0
lines changed
  • src/unix/bsd/netbsdlike/netbsd

1 file changed

+13
-0
lines changed

src/unix/bsd/netbsdlike/netbsd/mod.rs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -987,6 +987,19 @@ pub const CHWFLOW: ::tcflag_t = ::MDMBUF | ::CRTSCTS | ::CDTRCTS;
987987
pub const SOCK_CLOEXEC: ::c_int = 0x10000000;
988988
pub const SOCK_NONBLOCK: ::c_int = 0x20000000;
989989

990+
pub const FIONCLEX: ::c_ulong = 0x20006602;
991+
pub const FIOSEEKDATA: ::c_ulong = 0xc0086661;
992+
pub const FIOSEEKHOLE: ::c_ulong = 0xc0086662;
993+
pub const FIONREAD: ::c_ulong = 0x4004667f;
994+
pub const FIOASYNC: ::c_ulong = 0x8004667d;
995+
pub const FIOSETOWN: ::c_ulong = 0x8004667c;
996+
pub const FIOGETOWN: ::c_ulong = 0x4004667b;
997+
pub const OFIOGETBMAP: ::c_ulong = 0xc004667a;
998+
pub const FIOGETBMAP: ::c_ulong = 0xc008667a;
999+
pub const FIONWRITE: ::c_ulong = 0x40046679;
1000+
pub const FIONSPACE: ::c_ulong = 0x40046678;
1001+
pub const FIBMAP: ::c_ulong = 0xc008667a;
1002+
9901003
pub const SIGSTKSZ : ::size_t = 40960;
9911004

9921005
pub const PT_DUMPCORE: ::c_int = 12;

0 commit comments

Comments
 (0)