]> git.proxmox.com Git - rustc.git/blame - src/libstd/sys/unix/ext/raw.rs
New upstream version 1.41.1+dfsg1
[rustc.git] / src / libstd / sys / unix / ext / raw.rs
CommitLineData
d9579d0f
AL
1//! Unix-specific primitives available on all unix platforms
2
3#![stable(feature = "raw_ext", since = "1.1.0")]
60c5eb7d
XL
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)]
7453a54e 11#![allow(deprecated)]
d9579d0f 12
60c5eb7d
XL
13#[stable(feature = "raw_ext", since = "1.1.0")]
14pub type uid_t = u32;
15#[stable(feature = "raw_ext", since = "1.1.0")]
16pub type gid_t = u32;
17#[stable(feature = "raw_ext", since = "1.1.0")]
18pub type pid_t = i32;
d9579d0f
AL
19
20#[doc(inline)]
3157f602 21#[stable(feature = "pthread_t", since = "1.8.0")]
532ac7d7 22pub use crate::sys::platform::raw::pthread_t;
92a42be0
SL
23#[doc(inline)]
24#[stable(feature = "raw_ext", since = "1.1.0")]
60c5eb7d 25pub use crate::sys::platform::raw::{blkcnt_t, time_t};
d9579d0f 26#[doc(inline)]
92a42be0 27#[stable(feature = "raw_ext", since = "1.1.0")]
60c5eb7d 28pub use crate::sys::platform::raw::{blksize_t, dev_t, ino_t, mode_t, nlink_t, off_t};