Creates and writes a dataset.
Procedure:
H5LT_MAKE_DATASET_LONG(loc_id, dset_name, rank, dims, buffer)
Signature:
herr_t H5LTmake_dataset_long ( hid_t loc_id, const char *dset_name, int rank, const hsize_t *dims, const long *buffer )
Parameters:
hid_t loc_id | IN: Identifier of the file or group to create the dataset within. |
const char *dset_name | IN: The name of the dataset to create. |
int rank | IN: Number of dimensions of dataspace. |
const hsize_t * dims | IN: An array of the size of each dimension. |
const long * buffer | IN: Buffer with data to be written to the dataset. |
Description:
H5LTmake_dataset
creates and writes a dataset named dset_name
attached to the object specified by the identifier loc_id
.
The dataset’s datatype will be long signed integer, H5T_NATIVE_LONG
.
Returns:
Returns a non-negative value if successful; otherwise returns a negative value.
Example:
--- Last Modified: December 04, 2017 | 07:12 AM