Function rustix::fs::statx

pub fn statx<P: path::Arg, Fd: AsFd>(dirfd: &Fd, path: P, flags: AtFlags, mask: StatxFlags) -> io::Result<Statx>
Documentation

statx(dirfd, path, flags, mask, statxbuf)

Note that this isn’t available on Linux before 4.11; returns ENOSYS in that case.

References