rustix::fs

Function openat2

Source
pub fn openat2<Fd: AsFd, P: Arg>(
    dirfd: Fd,
    path: P,
    oflags: OFlags,
    mode: Mode,
    resolve: ResolveFlags,
) -> Result<OwnedFd>
Available on crate feature fs only.
Expand description

openat2(dirfd, path, OpenHow { oflags, mode, resolve }, sizeof(OpenHow))

ยงReferences