|
AquilaOS documentation
How it works, and its code
|
Go to the source code of this file.
Functions | |
| static void | __qsort_swap (char *a, char *b, size_t size) |
| Swaps two elements of size bytes. | |
| static void | qsort (void *base, size_t nmemb, size_t size, int(*compar)(const void *, const void *)) |
| Sorts an array of nmemb elements of size bytes, in the order compar says, with quicksort (the last element as the pivot). | |
|
inlinestatic |
Swaps two elements of size bytes.
Definition at line 10 of file qsort.h.
References __qsort_swap().
Referenced by __qsort_swap(), and qsort().
|
inlinestatic |
Sorts an array of nmemb elements of size bytes, in the order compar says, with quicksort (the last element as the pivot).
Definition at line 23 of file qsort.h.
References __qsort_swap(), and qsort().
Referenced by qsort().