Function nix::fcntl::openat2

source ·
pub fn openat2<P: ?Sized + NixPath>(
    dirfd: RawFd,
    path: &P,
    how: OpenHow,
) -> Result<RawFd>
Expand description

Open or create a file for reading, writing or executing.

openat2 is an extension of the openat function that allows the caller to control how path resolution happens.

§See also

openat2