Delete records

Procedure:

H5TB_DELETE_RECORD (loc_id, dset_name, start, nrecords )

Signature:

<pre><code class="language-c"> herr_t H5TBdelete_record ( hid_t loc_id, const char *dset_name, hsize_t start, hsize_t nrecords )</code></pre>

Parameters:
hid_t loc_idIN: Identifier of the file or group in which the table is located
const char *dset_nameIN: The name of the dataset
hsize_t  startIN: The start record to delete from
hsize_t nrecordsIN: The number of records to delete

Description:

H5TB_DELETE_RECORD deletes nrecords number of records starting from start from the middle of the table dset_name  ("pulling up" all the records after it).

Returns:

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

Example: