Function fdio::open_fd

source ·
pub fn open_fd(path: &str, flags: OpenFlags) -> 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_open_fd.