1*1b72036bSAugustin Cavalier #include <string.h> 2*1b72036bSAugustin Cavalier #include <dirent.h> 3*1b72036bSAugustin Cavalier alphasort(const struct dirent ** a,const struct dirent ** b)4*1b72036bSAugustin Cavalierint alphasort(const struct dirent **a, const struct dirent **b) 5*1b72036bSAugustin Cavalier { 6*1b72036bSAugustin Cavalier return strcoll((*a)->d_name, (*b)->d_name); 7*1b72036bSAugustin Cavalier } 8