mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-28 21:49:33 +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);
|
|
}
|