File tree Expand file tree Collapse file tree 2 files changed +32
-2
lines changed
src/unix/linux_like/linux/musl Expand file tree Collapse file tree 2 files changed +32
-2
lines changed Original file line number Diff line number Diff line change 76
76
__unused1: c_ulong,
77
77
__unused2: c_ulong,
78
78
}
79
+
80
+ pub struct statfs {
81
+ pub f_type: c_ulong,
82
+ pub f_bsize: c_ulong,
83
+ pub f_frsize: c_ulong,
84
+ pub f_blocks: crate :: fsblkcnt_t,
85
+ pub f_bfree: crate :: fsblkcnt_t,
86
+ pub f_files: crate :: fsfilcnt_t,
87
+ pub f_ffree: crate :: fsfilcnt_t,
88
+ pub f_bavail: crate :: fsblkcnt_t,
89
+ pub f_fsid: crate :: fsid_t,
90
+ pub f_namelen: c_ulong,
91
+ pub f_flags: c_ulong,
92
+ pub f_spare: [ c_ulong; 5 ] ,
93
+ }
94
+
95
+ pub struct statfs64 {
96
+ pub f_type: c_ulong,
97
+ pub f_bsize: c_ulong,
98
+ pub f_frsize: c_ulong,
99
+ pub f_blocks: crate :: fsblkcnt64_t,
100
+ pub f_bfree: crate :: fsblkcnt64_t,
101
+ pub f_files: crate :: fsfilcnt64_t,
102
+ pub f_ffree: crate :: fsfilcnt64_t,
103
+ pub f_bavail: crate :: fsblkcnt64_t,
104
+ pub f_fsid: crate :: fsid_t,
105
+ pub f_namelen: c_ulong,
106
+ pub f_flags: c_ulong,
107
+ pub f_spare: [ c_ulong; 5 ] ,
108
+ }
79
109
}
80
110
81
111
pub const SIGSTKSZ : size_t = 8192 ;
Original file line number Diff line number Diff line change 373
373
}
374
374
375
375
// MIPS implementation is special (see mips arch folders)
376
- #[ cfg( not( target_arch = "mips" ) ) ]
376
+ #[ cfg( not( any ( target_arch = "mips" , target_arch = "mips64" ) ) ) ]
377
377
pub struct statfs {
378
378
pub f_type: c_ulong,
379
379
pub f_bsize: c_ulong,
390
390
}
391
391
392
392
// MIPS implementation is special (see mips arch folders)
393
- #[ cfg( not( target_arch = "mips" ) ) ]
393
+ #[ cfg( not( any ( target_arch = "mips" , target_arch = "mips64" ) ) ) ]
394
394
pub struct statfs64 {
395
395
pub f_type: c_ulong,
396
396
pub f_bsize: c_ulong,
You can’t perform that action at this time.
0 commit comments