mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-11 03:52:59 +00:00
12 lines
264 B
C
12 lines
264 B
C
#include <dirent.h>
|
|
#include <string.h>
|
|
|
|
extern int __strverscmp (char *, char *);
|
|
|
|
int
|
|
versionsort64 (const void *a, const void *b)
|
|
{
|
|
return __strverscmp ((*(const struct dirent64 **)a)->d_name,
|
|
(*(const struct dirent64 **)b)->d_name);
|
|
}
|