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)