:orphan: .. _s_11PytoRuntime9WASIStateC13getDescriptoryAC04FileE0VSgs5Int32VF: ``getDescriptor(_:)`` ===================== Returns a :swift:symbol:`PytoRuntime.WASIState.FileDescriptor` from a WASI file number. .. raw:: html .. rubric:: Declaration .. raw:: html
func getDescriptor(
       _ id: Int32
   ) -> FileDescriptor?
   
.. rubric:: Parameters - **id**: The WASI file number. .. rubric:: Returns a :swift:symbol:`PytoRuntime.WASIState.FileDescriptor`.