Re-exports§
pub use std::os::unix::io::RawFd;
Modules§
- raw
- Raw structures and functions implementations.
Structs§
- CStr
- Representation of a borrowed C string.
- Dev32
- Device ID representation backed by an u32.
- Dev64
- Device ID representation backed by an u64.
- DevSplit
- Device ID representation backed by two u32 (major, minor).
- Errno
- Error number representation.
- Mode
- File permissions representation.
- Mode
Permission - Entity (owner, group or other) permissions representation.
- Path
- A slice of a path (akin to
str
). - Stat
AtFlags - Flags for
fstatat()
. - Timestamp
- Timestamp representation.
Enums§
Constants§
- CURRENT_
DIRECTORY - Special file descriptor that represent the current directory.
Functions§
- empty_
path - Returns an empty path representation.
- fstat⚠
- Call crate::fstatat on the
dirfd
directory file descriptor - fstatat⚠
- If not feature
linux_4_11
try to call crate::raw::statx and fallback to crate::raw::fstatat if not available. - fstatat_
cstr ⚠ - 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. - lstat
- Call crate::fstatat for
path
in the current directory not following symlinks. - lstat_
cstr - Call crate::fstatat for
path
in the current directory not following symlinks. Acceptpath
as a CStr. - stat
- Call crate::fstatat for
path
in the current directory following symlinks. - stat_
cstr - Call crate::fstatat for
path
in the current directory following symlinks. Acceptpath
as as CStr.