|
|
1.1 root 1: /*
2: Hatari - scandir.h
3:
4: This file is distributed under the GNU Public License, version 2 or at
5: your option any later version. Read the file gpl.txt for details.
6: */
7: #ifndef HATARI_SCANDIR_H
8: #define HATARI_SCANDIR_H
9:
10: #include <dirent.h>
11:
12: #ifdef QNX
13: #include <sys/types.h>
14: #include <sys/dir.h>
15: #define dirent direct
16: #endif
17:
18: #if defined(__BEOS__) || (defined(__sun) && defined(__SVR4)) || defined(WIN32)
19: extern int alphasort(const void *d1, const void *d2);
20: extern int scandir(const char *dirname, struct dirent ***namelist, int (*sdfilter)(struct dirent *), int (*dcomp)(const void *, const void *));
21: #endif
22:
23: #endif /* HATARI_SCANDIR_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.