Function darray_data_clear

Function Documentation

status_t darray_data_clear(struct darray *arr)

Clear a darray’s data (the element count is not affected)

Memset()s all elements to 0.

Parameters:

arr – The darray handle

Returns:

status_t