Debian Codegraph @

third_party/rust/libc/src/unix/bsd/freebsdlike/freebsd/freebsd11/b32.rs

raw
1 use crate::off_t;
2 use crate::prelude::*;
3
4 #[repr(C)]
5 #[cfg_attr(feature = "extra_traits", derive(Debug, Eq, Hash, PartialEq))]
6 pub struct stat {
7 pub st_dev: crate::dev_t,
8 pub st_ino: crate::ino_t,
9 pub st_mode: crate::mode_t,
10 pub st_nlink: crate::nlink_t,
11 pub st_uid: crate::uid_t,
12 pub st_gid: crate::gid_t,
13 pub st_rdev: crate::dev_t,
14 pub st_atime: crate::time_t,
15 pub st_atime_nsec: c_long,
16 pub st_mtime: crate::time_t,
17 pub st_mtime_nsec: c_long,
18 pub st_ctime: crate::time_t,
19 pub st_ctime_nsec: c_long,
20 pub st_size: off_t,
21 pub st_blocks: crate::blkcnt_t,
22 pub st_blksize: crate::blksize_t,
23 pub st_flags: crate::fflags_t,
24 pub st_gen: u32,
25 pub st_lspare: i32,
26 pub st_birthtime: crate::time_t,
27 pub st_birthtime_nsec: c_long,
28 __unused: [u8; 8],
29 }
30
31 impl Copy for crate::stat {}
32 impl Clone for crate::stat {
33 fn clone(&self) -> crate::stat {
34 *self
35 }
36 }