P99
|
An implementation of a sorting routine. More...
Go to the source code of this file.
Macros | |
#define | P99_ALIGNOF(B) |
#define | qsort_s(B, N, S, CMP, CTX) |
A generic sorting routine. More... | |
Functions | |
bool | p99_is_sorted (void *p00_base, rsize_t p00_n, rsize_t p00_s, int(*p00_comp)(const void *, const void *, void *), void *p00_ctx) |
Check if the array passed in as p00_base is sorted. More... | |
rsize_t | p99_mismatch (void *p00_base, rsize_t p00_n, rsize_t p00_s, int(*p00_comp)(const void *, const void *, void *), void *p00_ctx) |
Check if the array passed in as p00_base is sorted and return the first mismatch if it is not. More... | |
An implementation of a sorting routine.
Definition in file p99_qsort.h.