]> git.lizzy.rs Git - rust.git/blob - src/libstd/sys/unix/ext/raw.rs
std: Push process stdio setup in std::sys
[rust.git] / src / libstd / sys / unix / ext / raw.rs
1 // Copyright 2015 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
4 //
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
10
11 //! Unix-specific primitives available on all unix platforms
12
13 #![stable(feature = "raw_ext", since = "1.1.0")]
14
15 #[stable(feature = "raw_ext", since = "1.1.0")] pub type uid_t = u32;
16 #[stable(feature = "raw_ext", since = "1.1.0")] pub type gid_t = u32;
17 #[stable(feature = "raw_ext", since = "1.1.0")] pub type pid_t = i32;
18
19 #[doc(inline)]
20 #[unstable(feature = "pthread_t", issue = "29791")]
21 pub use sys::platform::raw::pthread_t;
22 #[doc(inline)]
23 #[stable(feature = "raw_ext", since = "1.1.0")]
24 pub use sys::platform::raw::{dev_t, ino_t, mode_t, nlink_t, off_t, blksize_t};
25 #[doc(inline)]
26 #[stable(feature = "raw_ext", since = "1.1.0")]
27 pub use sys::platform::raw::{blkcnt_t, time_t};