1 //! macOS-specific raw type definitions
3 #![stable(feature = "raw_ext", since = "1.1.0")]
6 note = "these type aliases are no longer supported by \
7 the standard library, the `libc` crate on \
8 crates.io should be used instead for the correct \
13 use crate::os::raw::c_long;
15 #[stable(feature = "raw_ext", since = "1.1.0")]
16 pub type blkcnt_t = u64;
17 #[stable(feature = "raw_ext", since = "1.1.0")]
18 pub type blksize_t = u64;
19 #[stable(feature = "raw_ext", since = "1.1.0")]
21 #[stable(feature = "raw_ext", since = "1.1.0")]
23 #[stable(feature = "raw_ext", since = "1.1.0")]
24 pub type mode_t = u32;
25 #[stable(feature = "raw_ext", since = "1.1.0")]
26 pub type nlink_t = u64;
27 #[stable(feature = "raw_ext", since = "1.1.0")]
29 #[stable(feature = "raw_ext", since = "1.1.0")]
30 pub type time_t = i64;
32 #[stable(feature = "pthread_t", since = "1.8.0")]
33 pub type pthread_t = usize;
37 #[stable(feature = "raw_ext", since = "1.1.0")]
39 #[stable(feature = "raw_ext", since = "1.1.0")]
41 #[stable(feature = "raw_ext", since = "1.1.0")]
43 #[stable(feature = "raw_ext", since = "1.1.0")]
45 #[stable(feature = "raw_ext", since = "1.1.0")]
47 #[stable(feature = "raw_ext", since = "1.1.0")]
49 #[stable(feature = "raw_ext", since = "1.1.0")]
51 #[stable(feature = "raw_ext", since = "1.1.0")]
53 #[stable(feature = "raw_ext", since = "1.1.0")]
55 #[stable(feature = "raw_ext", since = "1.1.0")]
56 pub st_atime_nsec: c_long,
57 #[stable(feature = "raw_ext", since = "1.1.0")]
59 #[stable(feature = "raw_ext", since = "1.1.0")]
60 pub st_mtime_nsec: c_long,
61 #[stable(feature = "raw_ext", since = "1.1.0")]
63 #[stable(feature = "raw_ext", since = "1.1.0")]
64 pub st_ctime_nsec: c_long,
65 #[stable(feature = "raw_ext", since = "1.1.0")]
66 pub st_birthtime: c_long,
67 #[stable(feature = "raw_ext", since = "1.1.0")]
68 pub st_birthtime_nsec: c_long,
69 #[stable(feature = "raw_ext", since = "1.1.0")]
71 #[stable(feature = "raw_ext", since = "1.1.0")]
73 #[stable(feature = "raw_ext", since = "1.1.0")]
75 #[stable(feature = "raw_ext", since = "1.1.0")]
77 #[stable(feature = "raw_ext", since = "1.1.0")]
79 #[stable(feature = "raw_ext", since = "1.1.0")]
81 #[stable(feature = "raw_ext", since = "1.1.0")]
82 pub st_qspare: [i64; 2],