1//! Unix-specific primitives available on all unix platforms.
2
3#![stable(feature = "raw_ext", since = "1.1.0")]
4#![deprecated(
5 since = "1.8.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 \
9 definitions"
10)]
11#![allow(deprecated)]
12
13#[stable(feature = "raw_ext", since = "1.1.0")]
14#[allow(non_camel_case_types)]
15pub type uid_t = u32;
16
17#[stable(feature = "raw_ext", since = "1.1.0")]
18#[allow(non_camel_case_types)]
19pub type gid_t = u32;
20
21#[stable(feature = "raw_ext", since = "1.1.0")]
22#[allow(non_camel_case_types)]
23pub type pid_t = i32;
24
25#[doc(inline)]
26#[stable(feature = "pthread_t", since = "1.8.0")]
27pub use super::platform::raw::pthread_t;
28#[doc(inline)]
29#[stable(feature = "raw_ext", since = "1.1.0")]
30pub use super::platform::raw::{blkcnt_t, time_t};
31#[doc(inline)]
32#[stable(feature = "raw_ext", since = "1.1.0")]
33pub use super::platform::raw::{blksize_t, dev_t, ino_t, mode_t, nlink_t, off_t};
34