pub fn statx<P: Arg, Fd: AsFd>(
dirfd: Fd,
path: P,
flags: AtFlags,
mask: StatxFlags,
) -> Result<Statx>
Expand description
statx(dirfd, path, flags, mask, statxbuf)
This function returns io::Errno::NOSYS
if statx
is not available on
the platform, such as Linux before 4.11. This also includes older Docker
versions where the actual syscall fails with different error codes; rustix
handles this and translates them into NOSYS
.