Function qsort_iter
Defined in File sort.h
Function Documentation
-
void qsort_iter(void *a, int max_index, size_t el_size, int (*cmpe)(const void *const e1, const void *const e2))
Sort an array using quicksort.
This routine sorts an array by using an iterative, rather than a recursive, implementation.
- Parameters:
a – Array to sort
max_index – Starting index
el_size – Size of elements in bytes
cmpe – Comparision function for elements