1 //! Raw type definitions for the ESP-IDF framework.
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 \
12 use crate::os::raw::c_long;
13 use crate::os::unix::raw::{gid_t, uid_t};
15 #[stable(feature = "pthread_t", since = "1.8.0")]
16 pub type pthread_t = libc::pthread_t;
18 #[stable(feature = "raw_ext", since = "1.1.0")]
19 pub type blkcnt_t = libc::blkcnt_t;
21 #[stable(feature = "raw_ext", since = "1.1.0")]
22 pub type blksize_t = libc::blksize_t;
23 #[stable(feature = "raw_ext", since = "1.1.0")]
24 pub type dev_t = libc::dev_t;
25 #[stable(feature = "raw_ext", since = "1.1.0")]
26 pub type ino_t = libc::ino_t;
27 #[stable(feature = "raw_ext", since = "1.1.0")]
28 pub type mode_t = libc::mode_t;
29 #[stable(feature = "raw_ext", since = "1.1.0")]
30 pub type nlink_t = libc::nlink_t;
31 #[stable(feature = "raw_ext", since = "1.1.0")]
32 pub type off_t = libc::off_t;
34 #[stable(feature = "raw_ext", since = "1.1.0")]
35 pub type time_t = libc::time_t;
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")]
48 pub st_nlink: nlink_t,
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")]
57 #[stable(feature = "raw_ext", since = "1.1.0")]
59 #[stable(feature = "raw_ext", since = "1.1.0")]
61 #[stable(feature = "raw_ext", since = "1.1.0")]
63 #[stable(feature = "raw_ext", since = "1.1.0")]
64 pub st_blksize: blksize_t,
65 #[stable(feature = "raw_ext", since = "1.1.0")]
66 pub st_blocks: blkcnt_t,
67 #[stable(feature = "raw_ext", since = "1.1.0")]
68 pub st_spare4: [c_long; 2usize],