blob: d420495cbde1bac53b8e9b0984711d9ccb3e4109 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/*
* alphasort.c: alphasort
*/
#include <string.h>
#include <dirent.h>
int alphasort(const struct dirent **a, const struct dirent **b)
{
return strcmp((*a)->d_name, (*b)->d_name);
}
|