We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4f88b8d + 5768391 commit bdf2f4cCopy full SHA for bdf2f4c
libc-test/build.rs
@@ -2254,6 +2254,9 @@ fn test_freebsd(target: &str) {
2254
true
2255
}
2256
2257
+ // Added in FreeBSD 14
2258
+ "LIO_READV" | "LIO_WRITEV" | "LIO_VECTORED" if Some(14) > freebsd_ver => true,
2259
+
2260
_ => false,
2261
2262
});
src/unix/bsd/freebsdlike/freebsd/mod.rs
@@ -1885,6 +1885,11 @@ impl ::Clone for dot3Vendors {
1885
1886
1887
1888
+// aio.h
1889
+pub const LIO_VECTORED: ::c_int = 4;
1890
+pub const LIO_WRITEV: ::c_int = 5;
1891
+pub const LIO_READV: ::c_int = 6;
1892
1893
// sys/devicestat.h
1894
pub const DEVSTAT_N_TRANS_FLAGS: ::c_int = 4;
1895
pub const DEVSTAT_NAME_LEN: ::c_int = 16;
0 commit comments