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 9af04ce + f7245fe commit 7e2f12fCopy full SHA for 7e2f12f
src/unix/bsd/freebsdlike/freebsd/mod.rs
@@ -1312,7 +1312,15 @@ extern {
1312
newfd: ::c_int,
1313
) -> ::c_int;
1314
1315
+ #[cfg_attr(
1316
+ all(target_os = "freebsd", freebsd11),
1317
+ link_name = "statfs@FBSD_1.0"
1318
+ )]
1319
pub fn statfs(path: *const ::c_char, buf: *mut statfs) -> ::c_int;
1320
1321
1322
+ link_name = "fstatfs@FBSD_1.0"
1323
1324
pub fn fstatfs(fd: ::c_int, buf: *mut statfs) -> ::c_int;
1325
1326
pub fn dup3(src: ::c_int, dst: ::c_int, flags: ::c_int) -> ::c_int;
0 commit comments