Sign in
cobalt
/
cobalt
/
refs/tags/24.lts.20
/
.
/
third_party
/
musl
/
src
/
dirent
/
versionsort.c
blob: 9769610518eb3f0c78a8cac426cbeb464b76a78a [
file
] [
log
] [
blame
]
#define
_GNU_SOURCE
#include
<string.h>
#include
<dirent.h>
int
versionsort
(
const
struct
dirent
**
a
,
const
struct
dirent
**
b
)
{
return
strverscmp
((*
a
)->
d_name
,
(*
b
)->
d_name
);
}