dir.rs |
|
12441 |
inotify.rs |
inotify support for working with inotifies |
4416 |
makedev.rs |
|
3601 |
mod.rs |
|
814 |
syscalls.rs |
libc syscalls supporting `rustix::fs`. |
74819 |
types.rs |
/bitflags/#externally-defined-flags>
const _ = !0;
}
}
#[cfg(not(any(target_os = "espidf", target_os = "redox")))]
bitflags! {
/// `AT_*` constants for use with [`openat`], [`statat`], and other `*at`
/// functions.
///
/// [`openat`]: crate::fs::openat
/// [`statat`]: crate::fs::statat
#[repr(transparent)]
#[derive(Copy, Clone, Eq, PartialEq, Hash, Debug)]
pub struct AtFlags: u32 {
/// `AT_SYMLINK_NOFOLLOW`
const SYMLINK_NOFOLLOW = bitcast!(c::AT_SYMLINK_NOFOLLOW);
/// `AT_EACCESS`
#[cfg(not(any(target_os = "emscripten", target_os = "android")))]
const EACCESS = bitcast!(c::AT_EACCESS);
/// `AT_REMOVEDIR`
const REMOVEDIR = bitcast!(c::AT_REMOVEDIR);
/// `AT_SYMLINK_FOLLOW`
const SYMLINK_FOLLOW = bitcast!(c::AT_SYMLINK_FOLLOW);
/// `AT_NO_AUTOMOUNT`
#[cfg(any(linux_like, target_os = "fuchsia"))]
const NO_AUTOMOUNT = bitcast!(c::AT_NO_AUTOMOUNT);
/// `AT_EMPTY_PATH`
#[cfg(any(
linux_kernel,
target_os = "freebsd",
target_os = "fuchsia",
))]
const EMPTY_PATH = bitcast!(c::AT_EMPTY_PATH);
/// `AT_RESOLVE_BENEATH`
#[cfg(target_os = "freebsd")]
const RESOLVE_BENEATH = bitcast!(c::AT_RESOLVE_BENEATH);
/// `AT_STATX_SYNC_AS_STAT`
#[cfg(all(target_os = "linux", target_env = "gnu"))]
const STATX_SYNC_AS_STAT = bitcast!(c::AT_STATX_SYNC_AS_STAT);
/// `AT_STATX_FORCE_SYNC`
#[cfg(all(target_os = "linux", target_env = "gnu"))]
const STATX_FORCE_SYNC = bitcast!(c::AT_STATX_FORCE_SYNC);
/// `AT_STATX_DONT_SYNC`
#[cfg(all(target_os = "linux", target_env = "gnu"))]
const STATX_DONT_SYNC = bitcast!(c::AT_STATX_DONT_SYNC);
/// <https://docs.rs/bitflags/ |
34290 |