Releases a datatype

Procedure:

H5T_CLOSE (dtype_id)

Signature:

<pre><code class="language-c">herr_t H5Tclose( hid_t dtype_id )</code></pre>

<pre><code class="language-fortran">SUBROUTINE h5tclose_f(type_id, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: type_id ! Datatype identifier 
  INTEGER, INTENT(OUT) :: hdferr        ! Error code
                                        ! 0 on success and -1 on failure
END SUBROUTINE h5tclose_f</code></pre>

Parameters:
hid_t dtype_id    IN: Identifier of datatype to release

Description:

H5T_CLOSE releases a datatype. Further access through the datatype identifier is illegal. Failure to release a datatype with this call will result in resource leaks.

Returns:

Returns a non-negative value if successful; otherwise returns a negative value.

Example:

Coming Soon!