10 lines
191 B
C
10 lines
191 B
C
|
#include <string.h>
|
||
|
#include <dirent.h>
|
||
|
|
||
|
int alphasort(const struct dirent **a, const struct dirent **b)
|
||
|
{
|
||
|
return strcoll((*a)->d_name, (*b)->d_name);
|
||
|
}
|
||
|
|
||
|
weak_alias(alphasort, alphasort64);
|