pub fn create_file_from_handle(
current_task: &CurrentTask,
handle: NullableHandle,
) -> Result<FileHandle, Errno>Expand description
Creates a FileHandle from a zx::NullableHandle.
Wraps zx::ObjectType::SOCKET handles (such as component stdio handles) in pipefs-backed
FIFO (S_IFIFO) nodes via create_fuchsia_pipe, and uses new_remote_file for all other
handle types.