]> git.proxmox.com Git - rustc.git/blame - vendor/rustix-0.37.20/src/fs/constants.rs
New upstream version 1.72.1+dfsg1
[rustc.git] / vendor / rustix-0.37.20 / src / fs / constants.rs
CommitLineData
fe692bf9
FG
1//! Filesystem API constants, translated into `bitflags` constants.
2
3use crate::backend;
4
5pub use crate::io::FdFlags;
6pub use backend::fs::types::{Access, Dev, Mode, OFlags};
7
8#[cfg(not(target_os = "redox"))]
9pub use backend::fs::types::AtFlags;
10
11#[cfg(apple)]
12pub use backend::fs::types::{CloneFlags, CopyfileFlags};
13
14#[cfg(linux_kernel)]
15pub use backend::fs::types::*;
16
17pub use backend::time::types::{Nsecs, Secs, Timespec};