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