1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#![no_std]
#![deny(missing_debug_implementations)]
#![deny(missing_docs)]
extern crate abort;
#[macro_use]
extern crate bitflags;
#[macro_use]
extern crate syscall;
extern crate fallible;
extern crate idem;
extern crate io;
extern crate libc;
#[macro_use]
extern crate null_terminated;
extern crate rand;
extern crate time as tempus;
extern crate void;
#[macro_use]
#[path = "err.rs"]
mod err_;
#[path = "env.rs"]
mod env_;
pub mod dir;
pub mod file;
pub mod mem;
pub mod poll;
pub mod process;
pub mod random;
pub mod time;
mod util;
pub use err_::Error;
pub use env_::{Environ, environ};
pub use file::File;
pub use time::EpochTime;
pub type Str = ::null_terminated::Nul<u8>;
#[deprecated(note = "Use associated constants of `Error`")]
#[allow(missing_docs)]
pub mod err {
pub use Error as OsErr;
include!(concat!(env!("OUT_DIR"), "/error_consts.rs"));
}
#[deprecated]
#[allow(missing_docs)]
pub mod env { pub use env_::*; }
#[deprecated]
#[allow(missing_docs)]
pub mod str { pub use Str as OsStr; }