Function darray_idx_serve

Function Documentation

status_t darray_idx_serve(const struct darray *arr, void *e, size_t index)

Get an element in a darray (array not modified)

Parameters:
  • arr – The darray handle

  • e – To be filled with the served element

  • index – Index of element to get

Returns:

status_t