File:  [HATARI the Atari ST Emulator] / hatari / src / includes / scandir.h
Revision 1.1.1.5 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 9 08:54:30 2019 UTC (7 years, 1 month ago) by root
Branches: hatari, MAIN
CVS tags: hatari02210, hatari02200, hatari02100, hatari02000, hatari01900, hatari01800, HEAD
hatari 1.8.0

/*
  Hatari - scandir.h

  This file is distributed under the GNU General Public License, version 2
  or at your option any later version. Read the file gpl.txt for details.
*/
#ifndef HATARI_SCANDIR_H
#define HATARI_SCANDIR_H

#include "config.h"
#include <dirent.h>

#ifdef QNX
#include <sys/types.h>
#include <sys/dir.h>
#define dirent direct
#endif

#if !HAVE_ALPHASORT
extern int alphasort(const struct dirent **d1, const struct dirent **d2);
#endif

#if !HAVE_SCANDIR
extern int scandir(const char *dirname, struct dirent ***namelist,
                   int (*sdfilter)(const struct dirent *),
                   int (*comp)(const struct dirent **, const struct dirent **));
#endif

#endif /* HATARI_SCANDIR_H */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.