emsApplication/3rdPartner/boa-0.94.13/extras/alphasort.c

8 lines
158 B
C
Raw Normal View History

2024-05-24 12:19:45 +08:00
#include <string.h>
#include "compat.h"
int alphasort(const struct dirent **a, const struct dirent **b)
{
return (strcmp((*a)->d_name, (*b)->d_name));
}