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