File tree 2 files changed +1
-23
lines changed
src/unix/linux_like/linux/gnu/b32
2 files changed +1
-23
lines changed Original file line number Diff line number Diff line change 1
1
pub type c_char = u8 ;
2
2
pub type wchar_t = u32 ;
3
3
4
- pub type statfs64 = statfs ;
5
-
6
4
s ! {
7
5
pub struct sigaction {
8
6
pub sa_sigaction: :: sighandler_t,
57
55
__unused2: :: c_ulong
58
56
}
59
57
60
- pub struct statvfs64 {
61
- pub f_bsize: :: c_ulong,
62
- pub f_frsize: :: c_ulong,
63
- pub f_blocks: u64 ,
64
- pub f_bfree: u64 ,
65
- pub f_bavail: u64 ,
66
- pub f_files: u64 ,
67
- pub f_ffree: u64 ,
68
- pub f_favail: u64 ,
69
- pub f_fsid: :: c_ulong,
70
- __f_unused: :: c_int,
71
- pub f_flag: :: c_ulong,
72
- pub f_namemax: :: c_ulong,
73
- __f_spare: [ :: c_int; 6 ] ,
74
- }
75
-
76
58
pub struct shmid_ds {
77
59
pub shm_perm: :: ipc_perm,
78
60
pub shm_segsz: :: size_t,
Original file line number Diff line number Diff line change @@ -43,12 +43,8 @@ cfg_if! {
43
43
cfg_if ! {
44
44
if #[ cfg( any( target_arch = "arm" , target_arch="riscv32" , target_arch="sparc" ) ) ] {
45
45
pub type stat64 = stat;
46
- }
47
- }
48
- cfg_if ! {
49
- if #[ cfg( any( target_arch = "riscv32" , target_arch="sparc" ) ) ] {
50
- pub type statvfs64 = statvfs;
51
46
pub type statfs64 = statfs;
47
+ pub type statvfs64 = statvfs;
52
48
}
53
49
}
54
50
You can’t perform that action at this time.
0 commit comments