H5Dfill
fn
herr_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
fill | Pointer to the fill value |
fill_type_id | Datatype of the fill value |
buf | Buffer to fill |
buf_type_id | Datatype of the buffer elements |
space_id | Dataspace describing the selection to fill |
Returns
Non-negative on success, negative on failure.