nix::unistd

Function faccessat

Source
pub fn faccessat<Fd: AsFd, P: ?Sized + NixPath>(
    dirfd: Fd,
    path: &P,
    mode: AccessFlags,
    flags: AtFlags,
) -> Result<()>
Expand description

Checks the file named by dirfd and path for accessibility according to the flags given by mode

ยงReferences

faccessat(2)