Copies a selection from one dataspace to another

Procedure:

H5S_SELECT_COPY ( dst_id, src_id )

Signature:

<pre><code class="language-c">herr_t H5Sselect_copy ( hid_t dst_id, hid_t src_id )</code></pre>

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

Parameters:
hid_t dst_idOUT: Identifier of the destination dataspace
hid_t src_idIN:  Identifier of the source dataspace

Description:

H5S_SELECT_COPY copies all selection information (including offset) from the source dataspace src_id to the destination dataspace dst_id.

Returns:

Non-negative on success/Negative on failure

Example:

None

History:
ReleaseChange
1.10.7, 1.12.0Function introduced in this release.