pub fn accessat<P: path::Arg, Fd: AsFd>(dirfd: &Fd, path: P, access: Access, flags: AtFlags) -> io::Result<()>
The portability is definied by: #[cfg(not(target_os = "illumos"))]
Documentation
faccessat(dirfd, path, access, flags)
—Tests permissions for a file or
directory.
References