Function syncio::directory_open_vmo

source ·
pub fn directory_open_vmo(
    directory: &DirectorySynchronousProxy,
    path: &str,
    vmo_flags: VmoFlags,
    deadline: Time
) -> Result<Vmo, Status>
Expand description

Open a VMO at the given path in the given directory.

The semantics for the vmo_flags argument are defined by the fuchsia.io/File.GetBackingMemory message (i.e., VmoFlags::*).

If the node at the given path is not a VMO, then this function returns a zx::Status::IO error.