File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -3207,6 +3207,10 @@ pub const TIME_OOP: ::c_int = 3;
3207
3207
pub const TIME_WAIT : :: c_int = 4 ;
3208
3208
pub const TIME_ERROR : :: c_int = 5 ;
3209
3209
3210
+ // <sys/mount.h>
3211
+ pub const MNT_WAIT : :: c_int = 1 ;
3212
+ pub const MNT_NOWAIT : :: c_int = 2 ;
3213
+
3210
3214
cfg_if ! {
3211
3215
if #[ cfg( libc_const_size_of) ] {
3212
3216
fn __DARWIN_ALIGN32( p: usize ) -> usize {
@@ -3744,6 +3748,21 @@ extern "C" {
3744
3748
3745
3749
pub fn ntp_adjtime ( buf : * mut timex ) -> :: c_int ;
3746
3750
pub fn ntp_gettime ( buf : * mut ntptimeval ) -> :: c_int ;
3751
+
3752
+ #[ cfg_attr(
3753
+ all( target_os = "macos" , not( target_arch = "aarch64" ) ) ,
3754
+ link_name = "getmntinfo$INODE64"
3755
+ ) ]
3756
+ pub fn getmntinfo ( mntbufp : * mut * mut statfs , flags : :: c_int ) -> :: c_int ;
3757
+ #[ cfg_attr(
3758
+ all( target_os = "macos" , not( target_arch = "aarch64" ) ) ,
3759
+ link_name = "getfsstat$INODE64"
3760
+ ) ]
3761
+ pub fn getfsstat (
3762
+ mntbufp : * mut statfs ,
3763
+ bufsize : :: c_int ,
3764
+ flags : :: c_int ,
3765
+ ) -> :: c_int ;
3747
3766
}
3748
3767
3749
3768
cfg_if ! {
You can’t perform that action at this time.
0 commit comments