Closes a reference

Procedure:

H5R_DESTROY ( ref_ptr )

Signature:

<pre><code class="language-c">herr_t H5Rdestroy ( H5R_ref_t *ref_ptr )</code></pre>

<pre><code class="language-fortran">Replace this text with the Fortran function signature</code></pre>

Parameters:
H5R_ref_t * ref_ptr

IN: Pointer to reference
H5R_ref_t is defined in H5Rpublic.h as:   typedef unsigned char H5R_ref_t[H5R_REF_BUF_SIZE];

Description:

Given a reference, ref_ptr, to an object, region or attribute attached to an object, H5R_DESTROY releases allocated resources from a previous create call.

Returns:

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

Example:

History:
ReleaseChange
1.12.0C function was introduced in this release.