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