File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed
src/unix/linux_like/linux/musl Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 68
68
pub st_blocks: crate :: blkcnt64_t,
69
69
__unused: [ c_long; 3 ] ,
70
70
}
71
+
72
+ pub struct statfs {
73
+ pub f_type: c_uint,
74
+ pub f_bsize: c_uint,
75
+ pub f_blocks: crate :: fsblkcnt_t,
76
+ pub f_bfree: crate :: fsblkcnt_t,
77
+ pub f_bavail: crate :: fsblkcnt_t,
78
+ pub f_files: crate :: fsfilcnt_t,
79
+ pub f_ffree: crate :: fsfilcnt_t,
80
+ pub f_fsid: crate :: fsid_t,
81
+ pub f_namelen: c_uint,
82
+ pub f_frsize: c_uint,
83
+ pub f_flags: c_uint,
84
+ pub f_spare: [ c_uint; 4 ] ,
85
+ }
71
86
}
72
87
73
88
s_no_extra_traits ! {
Original file line number Diff line number Diff line change 372
372
pub tcpi_snd_wnd: u32 ,
373
373
}
374
374
375
- // MIPS implementation is special (see mips arch folders)
376
- #[ cfg( not( any( target_arch = "mips" , target_arch = "mips64" ) ) ) ]
375
+ // MIPS/s390x implementation is special (see arch folders)
376
+ #[ cfg( not( any( target_arch = "mips" , target_arch = "mips64" , target_arch = "s390x" ) ) ) ]
377
377
pub struct statfs {
378
378
pub f_type: c_ulong,
379
379
pub f_bsize: c_ulong,
You can’t perform that action at this time.
0 commit comments