H5Dfill

fnherr_t H5Dfill(const void * fill, hid_t fill_type_id, void * buf, hid_t buf_type_id, hid_t space_id)

Fills a selection in memory with a value.

Parameters

fillPointer to the fill value
fill_type_idDatatype of the fill value
bufBuffer to fill
buf_type_idDatatype of the buffer elements
space_idDataspace describing the selection to fill

Returns

Non-negative on success, negative on failure.