OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [sys/] [linux/] [versionsort64.c] - Blame information for rev 207

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
#include <dirent.h>
2
#include <string.h>
3
 
4
extern int __strverscmp (char *, char *);
5
 
6
int
7
versionsort64 (const void *a, const void *b)
8
{
9
  return __strverscmp ((*(const struct dirent64 **)a)->d_name,
10
                       (*(const struct dirent64 **)b)->d_name);
11
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.