projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
towupper/towlower: fast path for ascii chars
[oweals/musl.git]
/
src
/
dirent
/
versionsort.c
1
#define _GNU_SOURCE
2
#include <string.h>
3
#include <dirent.h>
4
#include "libc.h"
5
6
int versionsort(const struct dirent **a, const struct dirent **b)
7
{
8
return strverscmp((*a)->d_name, (*b)->d_name);
9
}
10
11
#undef versionsort64
12
LFS64(versionsort);