Function linux_stat::fstatat
source · pub unsafe fn fstatat<P: AsRef<Path>>(
dirfd: RawFd,
path: P,
flags: StatAtFlags
) -> Result<Stat, Errno>
Expand description
If not feature linux_4_11
try to call crate::raw::statx and fallback
to crate::raw::fstatat if not available.
Safety
This function is marked as unsafe because directory file descriptor
(dirfd
) cannot be checked.