|
97 | 97 | __glibc_reserved3: crate::__syscall_ulong_t,
|
98 | 98 | __glibc_reserved4: crate::__syscall_ulong_t,
|
99 | 99 | }
|
| 100 | + |
| 101 | + pub struct timex { |
| 102 | + pub modes: c_uint, |
| 103 | + #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
| 104 | + pub offset: i64, |
| 105 | + #[cfg(not(all(target_arch = "x86_64", target_pointer_width = "32")))] |
| 106 | + pub offset: c_long, |
| 107 | + #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
| 108 | + pub freq: i64, |
| 109 | + #[cfg(not(all(target_arch = "x86_64", target_pointer_width = "32")))] |
| 110 | + pub freq: c_long, |
| 111 | + #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
| 112 | + pub maxerror: i64, |
| 113 | + #[cfg(not(all(target_arch = "x86_64", target_pointer_width = "32")))] |
| 114 | + pub maxerror: c_long, |
| 115 | + #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
| 116 | + pub esterror: i64, |
| 117 | + #[cfg(not(all(target_arch = "x86_64", target_pointer_width = "32")))] |
| 118 | + pub esterror: c_long, |
| 119 | + pub status: c_int, |
| 120 | + #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
| 121 | + pub constant: i64, |
| 122 | + #[cfg(not(all(target_arch = "x86_64", target_pointer_width = "32")))] |
| 123 | + pub constant: c_long, |
| 124 | + #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
| 125 | + pub precision: i64, |
| 126 | + #[cfg(not(all(target_arch = "x86_64", target_pointer_width = "32")))] |
| 127 | + pub precision: c_long, |
| 128 | + #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
| 129 | + pub tolerance: i64, |
| 130 | + #[cfg(not(all(target_arch = "x86_64", target_pointer_width = "32")))] |
| 131 | + pub tolerance: c_long, |
| 132 | + pub time: crate::timeval, |
| 133 | + #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
| 134 | + pub tick: i64, |
| 135 | + #[cfg(not(all(target_arch = "x86_64", target_pointer_width = "32")))] |
| 136 | + pub tick: c_long, |
| 137 | + #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
| 138 | + pub ppsfreq: i64, |
| 139 | + #[cfg(not(all(target_arch = "x86_64", target_pointer_width = "32")))] |
| 140 | + pub ppsfreq: c_long, |
| 141 | + #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
| 142 | + pub jitter: i64, |
| 143 | + #[cfg(not(all(target_arch = "x86_64", target_pointer_width = "32")))] |
| 144 | + pub jitter: c_long, |
| 145 | + pub shift: c_int, |
| 146 | + #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
| 147 | + pub stabil: i64, |
| 148 | + #[cfg(not(all(target_arch = "x86_64", target_pointer_width = "32")))] |
| 149 | + pub stabil: c_long, |
| 150 | + #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
| 151 | + pub jitcnt: i64, |
| 152 | + #[cfg(not(all(target_arch = "x86_64", target_pointer_width = "32")))] |
| 153 | + pub jitcnt: c_long, |
| 154 | + #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
| 155 | + pub calcnt: i64, |
| 156 | + #[cfg(not(all(target_arch = "x86_64", target_pointer_width = "32")))] |
| 157 | + pub calcnt: c_long, |
| 158 | + #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
| 159 | + pub errcnt: i64, |
| 160 | + #[cfg(not(all(target_arch = "x86_64", target_pointer_width = "32")))] |
| 161 | + pub errcnt: c_long, |
| 162 | + #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
| 163 | + pub stbcnt: i64, |
| 164 | + #[cfg(not(all(target_arch = "x86_64", target_pointer_width = "32")))] |
| 165 | + pub stbcnt: c_long, |
| 166 | + pub tai: c_int, |
| 167 | + pub __unused1: i32, |
| 168 | + pub __unused2: i32, |
| 169 | + pub __unused3: i32, |
| 170 | + pub __unused4: i32, |
| 171 | + pub __unused5: i32, |
| 172 | + pub __unused6: i32, |
| 173 | + pub __unused7: i32, |
| 174 | + pub __unused8: i32, |
| 175 | + pub __unused9: i32, |
| 176 | + pub __unused10: i32, |
| 177 | + pub __unused11: i32, |
| 178 | + } |
100 | 179 | }
|
101 | 180 |
|
102 | 181 | pub const __SIZEOF_PTHREAD_RWLOCKATTR_T: usize = 8;
|
|
0 commit comments