nix::unistd

Function access

source
pub fn access<P: ?Sized + NixPath>(path: &P, amode: AccessFlags) -> Result<()>
Expand description

Checks the file named by path for accessibility according to the flags given by amode See access(2)