]> git.proxmox.com Git - rustc.git/blob - src/libstd/sys/unix/ext/raw.rs
New upstream version 1.41.1+dfsg1
[rustc.git] / src / libstd / sys / unix / ext / raw.rs
1 //! Unix-specific primitives available on all unix platforms
2
3 #![stable(feature = "raw_ext", since = "1.1.0")]
4 #![rustc_deprecated(
5 since = "1.8.0",
6 reason = "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 \
9 definitions"
10 )]
11 #![allow(deprecated)]
12
13 #[stable(feature = "raw_ext", since = "1.1.0")]
14 pub type uid_t = u32;
15 #[stable(feature = "raw_ext", since = "1.1.0")]
16 pub type gid_t = u32;
17 #[stable(feature = "raw_ext", since = "1.1.0")]
18 pub type pid_t = i32;
19
20 #[doc(inline)]
21 #[stable(feature = "pthread_t", since = "1.8.0")]
22 pub use crate::sys::platform::raw::pthread_t;
23 #[doc(inline)]
24 #[stable(feature = "raw_ext", since = "1.1.0")]
25 pub use crate::sys::platform::raw::{blkcnt_t, time_t};
26 #[doc(inline)]
27 #[stable(feature = "raw_ext", since = "1.1.0")]
28 pub use crate::sys::platform::raw::{blksize_t, dev_t, ino_t, mode_t, nlink_t, off_t};