We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f544b27 commit 01fb15cCopy full SHA for 01fb15c
src/unix/notbsd/android/b32.rs
@@ -17,13 +17,13 @@ s! {
17
pub st_dev: ::c_ulonglong,
18
__pad0: [::c_uchar; 4],
19
__st_ino: ::ino_t,
20
- pub st_mode: ::mode_t,
21
- pub st_nlink: ::nlink_t,
+ pub st_mode: ::c_uint,
+ pub st_nlink: ::c_uint,
22
pub st_uid: ::uid_t,
23
pub st_gid: ::gid_t,
24
pub st_rdev: ::c_ulonglong,
25
__pad3: [::c_uchar; 4],
26
- pub st_size: ::off64_t,
+ pub st_size: ::c_longlong,
27
pub st_blksize: ::blksize_t,
28
pub st_blocks: ::c_ulonglong,
29
pub st_atime: ::c_ulong,
src/unix/notbsd/android/mod.rs
@@ -19,30 +19,9 @@ pub type fsfilcnt_t = ::c_ulong;
pub type fsblkcnt_t = ::c_ulong;
pub type nfds_t = ::c_uint;
pub type rlim_t = ::c_ulong;
+pub type stat = ::stat64;
s! {
- pub struct stat {
- pub st_dev: ::c_ulonglong,
- __pad0: [::c_uchar; 4],
- __st_ino: ::ino_t,
30
- pub st_uid: ::uid_t,
31
- pub st_gid: ::gid_t,
32
- pub st_rdev: ::c_ulonglong,
33
- __pad3: [::c_uchar; 4],
34
- pub st_size: ::c_longlong,
35
- pub st_blksize: ::blksize_t,
36
- pub st_blocks: ::c_ulonglong,
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
- pub st_ino: ::c_ulonglong,
44
- }
45
-
46
pub struct dirent {
47
pub d_ino: u64,
48
pub d_off: i64,
0 commit comments