summaryrefslogblamecommitdiff
path: root/src/dirent/alphasort.c
blob: 42050fb7cb52eda81b04d923f674d7c9c80f6acc (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                               
#include <string.h>
#include <dirent.h>
#include "libc.h"

int alphasort(const struct dirent **a, const struct dirent **b)
{
	return strcoll((*a)->d_name, (*b)->d_name);
}

LFS64(alphasort);