fdio

Function open_fd

Source
pub fn open_fd(path: &str, flags: Flags) -> Result<File, Status>
Expand description

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

Wraps fdio_open3_fd.