VLC 4.0.0-dev
Loading...
Searching...
No Matches
sort.c File Reference
Include dependency graph for sort.c:

Functions

void vlc_qsort (void *base, size_t nmemb, size_t size, int(*compar)(const void *, const void *, void *), void *arg)
 Sort an array with reentrancy, following the upcoming POSIX prototype.
 

Function Documentation

◆ vlc_qsort()

void vlc_qsort ( void *  base,
size_t  nmemb,
size_t  size,
int(*)(const void *, const void *, void *)  compar,
void *  arg 
)

Sort an array with reentrancy, following the upcoming POSIX prototype.

cf. POSIX qsort_r

References arg, and compar.