Function darray_clear

Function Documentation

status_t darray_clear(struct darray *arr)

Clear a darray.

Resets the count of # elements in array to 0, and memset()s all elements to 0.

Parameters:

arr – The darray handle

Returns:

status_t