Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 1 | #include <string.h> |
2 | #include <dirent.h> | ||||
3 | #include "libc.h" | ||||
4 | |||||
5 | int alphasort(const struct dirent **a, const struct dirent **b) | ||||
6 | { | ||||
7 | return strcoll((*a)->d_name, (*b)->d_name); | ||||
8 | } | ||||
9 | |||||
10 | LFS64(alphasort); |