|
24 | 24 | }
|
25 | 25 |
|
26 | 26 | pub struct stat {
|
27 |
| - pub st_dev: ::c_ulonglong, |
28 |
| - __pad0: [::c_uchar; 4], |
29 |
| - __st_ino: ::ino_t, |
30 |
| - pub st_mode: ::c_uint, |
| 27 | + pub st_dev: ::c_ulong, |
| 28 | + pub st_ino: ::ino_t, |
| 29 | + pub st_mode: ::c_ushort, |
31 | 30 | pub st_nlink: ::nlink_t,
|
32 | 31 | pub st_uid: ::uid_t,
|
33 | 32 | pub st_gid: ::gid_t,
|
34 |
| - pub st_rdev: ::c_ulonglong, |
35 |
| - __pad3: [::c_uchar; 4], |
36 |
| - pub st_size: ::c_longlong, |
| 33 | + pub st_rdev: ::c_ulong, |
| 34 | + pub st_size: ::c_ulong, |
37 | 35 | pub st_blksize: ::blksize_t,
|
38 |
| - pub st_blocks: ::c_ulonglong, |
39 |
| - pub st_atime: ::c_long, |
40 |
| - pub st_atime_nsec: ::c_long, |
41 |
| - pub st_mtime: ::c_long, |
42 |
| - pub st_mtime_nsec: ::c_long, |
43 |
| - pub st_ctime: ::c_long, |
44 |
| - pub st_ctime_nsec: ::c_long, |
45 |
| - pub st_ino: ::c_ulonglong, |
| 36 | + pub st_blocks: ::c_ulong, |
| 37 | + pub st_atime: ::c_ulong, |
| 38 | + pub st_atime_nsec: ::c_ulong, |
| 39 | + pub st_mtime: ::c_ulong, |
| 40 | + pub st_mtime_nsec: ::c_ulong, |
| 41 | + pub st_ctime: ::c_ulong, |
| 42 | + pub st_ctime_nsec: ::c_ulong, |
| 43 | + __unused4: c_ulong, |
| 44 | + __unused5: c_ulong, |
46 | 45 | }
|
47 | 46 |
|
48 | 47 | pub struct stat64 {
|
|
0 commit comments