@@ -2005,7 +2005,7 @@ pub mod types {
2005
2005
use types::common::c95::{c_void};
2006
2006
use types::os::arch::c95::{c_char, c_int, c_uint};
2007
2007
2008
- pub type socklen_t = c_int ;
2008
+ pub type socklen_t = u32 ;
2009
2009
pub type sa_family_t = u8;
2010
2010
pub type in_port_t = u16;
2011
2011
pub type in_addr_t = u32;
@@ -2114,8 +2114,8 @@ pub mod types {
2114
2114
pub type c_double = f64;
2115
2115
pub type size_t = u32;
2116
2116
pub type ptrdiff_t = i32;
2117
- pub type clock_t = u32 ;
2118
- pub type time_t = i32 ;
2117
+ pub type clock_t = c_ulong ;
2118
+ pub type time_t = c_long ;
2119
2119
pub type suseconds_t = i32;
2120
2120
pub type wchar_t = i32;
2121
2121
}
@@ -2128,6 +2128,8 @@ pub mod types {
2128
2128
pub type uintmax_t = u64;
2129
2129
}
2130
2130
pub mod posix88 {
2131
+ use types::os::arch::c95::c_long;
2132
+
2131
2133
pub type off_t = i64;
2132
2134
pub type dev_t = i32;
2133
2135
pub type ino_t = u64;
@@ -2136,7 +2138,7 @@ pub mod types {
2136
2138
pub type gid_t = u32;
2137
2139
pub type useconds_t = u32;
2138
2140
pub type mode_t = u16;
2139
- pub type ssize_t = i32 ;
2141
+ pub type ssize_t = c_long ;
2140
2142
}
2141
2143
pub mod posix01 {
2142
2144
use types::common::c99::{int32_t, int64_t, uint32_t};
@@ -2145,8 +2147,8 @@ pub mod types {
2145
2147
mode_t, off_t, uid_t};
2146
2148
2147
2149
pub type nlink_t = u16;
2148
- pub type blksize_t = i64 ;
2149
- pub type blkcnt_t = i32 ;
2150
+ pub type blksize_t = i32 ;
2151
+ pub type blkcnt_t = i64 ;
2150
2152
2151
2153
#[repr(C)]
2152
2154
#[derive(Copy)] pub struct stat {
@@ -2217,8 +2219,8 @@ pub mod types {
2217
2219
pub type c_double = f64;
2218
2220
pub type size_t = u64;
2219
2221
pub type ptrdiff_t = i64;
2220
- pub type clock_t = u64 ;
2221
- pub type time_t = i64 ;
2222
+ pub type clock_t = c_ulong ;
2223
+ pub type time_t = c_long ;
2222
2224
pub type suseconds_t = i32;
2223
2225
pub type wchar_t = i32;
2224
2226
}
@@ -2231,6 +2233,8 @@ pub mod types {
2231
2233
pub type uintmax_t = u64;
2232
2234
}
2233
2235
pub mod posix88 {
2236
+ use types::os::arch::c95::c_long;
2237
+
2234
2238
pub type off_t = i64;
2235
2239
pub type dev_t = i32;
2236
2240
pub type ino_t = u64;
@@ -2239,7 +2243,7 @@ pub mod types {
2239
2243
pub type gid_t = u32;
2240
2244
pub type useconds_t = u32;
2241
2245
pub type mode_t = u16;
2242
- pub type ssize_t = i64 ;
2246
+ pub type ssize_t = c_long ;
2243
2247
}
2244
2248
pub mod posix01 {
2245
2249
use types::common::c99::{int32_t, int64_t};
@@ -2249,8 +2253,8 @@ pub mod types {
2249
2253
use types::os::arch::posix88::{mode_t, off_t, uid_t};
2250
2254
2251
2255
pub type nlink_t = u16;
2252
- pub type blksize_t = i64 ;
2253
- pub type blkcnt_t = i32 ;
2256
+ pub type blksize_t = i32 ;
2257
+ pub type blkcnt_t = i64 ;
2254
2258
2255
2259
#[repr(C)]
2256
2260
#[derive(Copy)] pub struct stat {
0 commit comments