xref: /drstd/src/std/os/nto/raw.rs (revision 86982c5e9b2eaa583327251616ee822c36288824)
1 #![deprecated(
2     since = "1.8.0",
3     note = "these type aliases are no longer supported by \
4             the standard library, the `libc` crate on \
5             crates.io should be used instead for the correct \
6             definitions"
7 )]
8 #![allow(deprecated)]
9 
10 use crate::std::os::raw::c_int;
11 
12 pub type dev_t = u32;
13 pub type mode_t = u32;
14 
15 pub type pthread_t = c_int;
16 
17 #[doc(inline)]
18 pub use self::arch::{blkcnt_t, blksize_t, ino_t, nlink_t, off_t, time_t};
19 
20 mod arch {
21     use crate::std::os::raw::c_long;
22 
23     pub type blkcnt_t = i64;
24     pub type blksize_t = i32;
25     pub type ino_t = u64;
26     pub type nlink_t = u32;
27     pub type off_t = i64;
28     pub type time_t = c_long;
29 }
30