summaryrefslogtreecommitdiffstats
path: root/vendor/rustix/src/fs/constants.rs
blob: ef677aa49bacf537d5b4f7c0e5196352959af5cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Filesystem API constants, translated into `bitflags` constants.

use crate::backend;

pub use crate::io::FdFlags;
pub use backend::fs::types::{Access, Dev, Mode, OFlags};

#[cfg(not(target_os = "redox"))]
pub use backend::fs::types::AtFlags;

#[cfg(apple)]
pub use backend::fs::types::{CloneFlags, CopyfileFlags};

#[cfg(linux_kernel)]
pub use backend::fs::types::*;

pub use crate::timespec::{Nsecs, Secs, Timespec};