]>
Commit | Line | Data |
---|---|---|
fe692bf9 FG |
1 | //! Filesystem API constants, translated into `bitflags` constants. |
2 | ||
3 | use crate::backend; | |
4 | ||
5 | pub use crate::io::FdFlags; | |
6 | pub use backend::fs::types::{Access, Dev, Mode, OFlags}; | |
7 | ||
8 | #[cfg(not(target_os = "redox"))] | |
9 | pub use backend::fs::types::AtFlags; | |
10 | ||
11 | #[cfg(apple)] | |
12 | pub use backend::fs::types::{CloneFlags, CopyfileFlags}; | |
13 | ||
14 | #[cfg(linux_kernel)] | |
15 | pub use backend::fs::types::*; | |
16 | ||
17 | pub use backend::time::types::{Nsecs, Secs, Timespec}; |