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.
1 parent 6b9d509 commit 6192defCopy full SHA for 6192def
src/unix/bsd/freebsdlike/freebsd/mod.rs
@@ -4037,6 +4037,10 @@ extern "C" {
4037
pub fn getfh(path: *const ::c_char, fhp: *mut fhandle_t) -> ::c_int;
4038
pub fn lgetfh(path: *const ::c_char, fhp: *mut fhandle_t) -> ::c_int;
4039
pub fn getfsstat(buf: *mut ::statfs, bufsize: ::c_long, mode: ::c_int) -> ::c_int;
4040
+ #[cfg_attr(
4041
+ all(target_os = "freebsd", freebsd11),
4042
+ link_name = "getmntinfo@FBSD_1.0"
4043
+ )]
4044
pub fn getmntinfo(mntbufp: *mut *mut ::statfs, mode: ::c_int) -> ::c_int;
4045
pub fn mount(
4046
type_: *const ::c_char,
0 commit comments