pub fn create_fd(handle: NullableHandle) -> Result<OwnedFd, Status>Expand description
Create an object from a handle.
Afterward, the handle is owned by fdio, and will close with OwnedFd.
See transfer_fd for a way to get it back.
pub fn create_fd(handle: NullableHandle) -> Result<OwnedFd, Status>Create an object from a handle.
Afterward, the handle is owned by fdio, and will close with OwnedFd.
See transfer_fd for a way to get it back.