repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
synccall: add separate exit_sem to fix thread release logic bug
[musl.git]
/
src
/
dirent
/
versionsort.c
blob
9769610518eb3f0c78a8cac426cbeb464b76a78a
1
#define _GNU_SOURCE
2
#include <string.h>
3
#include <dirent.h>
4
5
int
versionsort
(
const struct
dirent
**
a
,
const struct
dirent
**
b
)
6
{
7
return
strverscmp
((*
a
)->
d_name
, (*
b
)->
d_name
);
8
}