Crate linux_stat
source ·Re-exports
pub use std::os::unix::io::RawFd;
Modules
- Raw structures and functions implementations.
Structs
- Representation of a borrowed C string.
- Device ID representation backed by an u32.
- Device ID representation backed by an u64.
- Device ID representation backed by two u32 (major, minor).
- Error number representation.
- File permissions representation.
- Entity (owner, group or other) permissions representation.
- A slice of a path (akin to
str
). - Flags for
fstatat()
. - Timestamp representation.
Enums
- Unified Device ID representation.
- File type representation.
- Unified Stat structure.
Constants
- Special file descriptor that represent the current directory.
Functions
- Returns an empty path representation.
- Call crate::fstatat on the
dirfd
directory file descriptor - If not feature
linux_4_11
try to call crate::raw::statx and fallback to crate::raw::fstatat if not available. - If not feature
linux_4_11
try to call crate::raw::statx and fallback to crate::raw::fstatat if not available. Acceptpath
as a CStr. - Call crate::fstatat for
path
in the current directory not following symlinks. - Call crate::fstatat for
path
in the current directory not following symlinks. Acceptpath
as a CStr. - Call crate::fstatat for
path
in the current directory following symlinks.