projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
only use memcpy realloc to shrink if an exact-sized free chunk exists
[oweals/musl.git]
/
src
/
dirent
/
alphasort.c
1
#include <string.h>
2
#include <dirent.h>
3
4
int alphasort(const struct dirent **a, const struct dirent **b)
5
{
6
return strcoll((*a)->d_name, (*b)->d_name);
7
}
8
9
weak_alias(alphasort, alphasort64);