alecmocatta 2019-01-12 17:19:43 +00:00
parent 8bb09e2353
commit de64c557ae
No known key found for this signature in database
GPG Key ID: 68DEC96448342625

View File

@ -988,8 +988,9 @@ pub const SOCK_CLOEXEC: ::c_int = 0x10000000;
pub const SOCK_NONBLOCK: ::c_int = 0x20000000;
pub const FIONCLEX: ::c_ulong = 0x20006602;
pub const FIOSEEKDATA: ::c_ulong = 0xc0086661;
pub const FIOSEEKHOLE: ::c_ulong = 0xc0086662;
// Uncomment on next NetBSD release https://github.com/rust-lang/libc/pull/1200#issuecomment-453712616
// pub const FIOSEEKDATA: ::c_ulong = 0xc0086661;
// pub const FIOSEEKHOLE: ::c_ulong = 0xc0086662;
pub const FIONREAD: ::c_ulong = 0x4004667f;
pub const FIOASYNC: ::c_ulong = 0x8004667d;
pub const FIOSETOWN: ::c_ulong = 0x8004667c;