/* ftw.h (emx+gcc) */

#if !defined (_FTW_H)
#define _FTW_H

#if defined (__cplusplus)
extern "C" {
#endif

#define FTW_F           0
#define FTW_D           1
#define FTW_DNR         2
#define FTW_NS          3

int ftw (__const__ char *path,
    int (*fn)(__const__ char *name, __const__ struct stat *stat_ptr, int flag),
    int depth);

#if defined (__cplusplus)
}
#endif

#endif /* !defined (_FTW_H) */
