summaryrefslogtreecommitdiff
path: root/libc/misc/dirent/alphasort64.c
blob: d65b59647e1ce43585935a04279485a5c5e9cac9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
 *
 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 */

#include <_lfs_64.h>

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

int alphasort64(const struct dirent64 **a, const struct dirent64 **b)
{
	return strcmp((*a)->d_name, (*b)->d_name);
}