fdio

Function open_fd_at_deprecated

Source
pub fn open_fd_at_deprecated(
    dir: &File,
    path: &str,
    flags: OpenFlags,
) -> Result<File, Status>
Expand description

DEPRECATED - Use open_fd_at instead.

Opens the remote object at the given path relative to the given dir with the given flags synchronously, and on success, binds that channel to a file descriptor and returns it.

dir must be backed by a directory protocol channel (even though it is wrapped in a std::fs::File).

Wraps fdio_open_fd_at.