Add records from first table to second table

Procedure:

H5TB_ADD_RECORDS_FROM ( loc_id, dset_name1, start1, nrecords, dset_name2, start2 )

Signature:

<pre><code class="language-c">herr_t H5TBadd_records_from(hid_t loc_id,
                            const char *dset_name1,
                            hsize_t start1,
                            hsize_t nrecords,
                            const char *dset_name2,
                            hsize_t start2)</code></pre>

Parameters:
hid_t loc_idIN: Identifier of the file or group in which the table is located
const char *dset_name1IN: The name of the dataset to read the records
hsize_t  start1IN: The position to read the records from the first table
hsize_t nrecordsIN: The number of records to read from the first table
const char *dset_name2IN: The name of the dataset to write the records
hsize_t  start2IN: The position to write the records on the second table

Description:

H5TB_ADD_RECORDS_FROM adds records from a dataset named dset_name1 to a dataset named dset_name2. Both tables are attached to the object specified by the identifier loc_id

Returns:

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

Example: