Closes an object in an HDF5 file

Procedure:

H5O_CLOSE(object_id)

Signature:

<pre><code class="language-c">herr_t H5Oclose(
            hid_t object_id
        )</code></pre>

<pre><code class="language-fortran"> SUBROUTINE h5oclose_f(object_id, hdferr)
    IMPLICIT NONE
    INTEGER(HID_T), INTENT(IN)   :: object_id
    INTEGER       , INTENT(OUT) :: hdferr</code></pre>

Parameters:
hid_t object_id    IN: Object identifier

Description:

H5O_CLOSE closes the group, dataset, or named datatype specified by object_id.

This function is the companion to H5O_OPEN , and has the same effect as calling H5G_CLOSE, H5D_CLOSE, or H5T_CLOSE.

 H5O_CLOSE is not used to close a dataspace, attribute, property list, or file.

Returns:

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

Example:

Coming Soon!

History:
Release    Change
1.8.8Fortran subroutine introduced in this release.
1.8.0Function introduced in this release.