blob: c8e261e66e6f9c1b957882514a5638002b18b941 [file] [log] [blame]
//! Filesystem API constants, translated into `bitflags` constants.
use crate::backend;
pub use crate::io::FdFlags;
pub use backend::fs::types::{Access, Mode, OFlags};
#[cfg(not(target_os = "redox"))]
pub use backend::fs::types::AtFlags;
#[cfg(apple)]
pub use backend::fs::types::{CloneFlags, CopyfileFlags};
#[cfg(any(target_os = "android", target_os = "linux"))]
pub use backend::fs::types::*;
#[cfg(not(target_os = "redox"))]
pub use backend::fs::types::Dev;
pub use backend::time::types::{Nsecs, Secs, Timespec};