make configure check for unsupported (SPE) powerpc hard-float models
[musl.git] / include / ftw.h
blobc8eadbc9dda723eaa5d7c6ef486365a1565ca874
1 #ifndef _FTW_H
2 #define _FTW_H
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
8 #include <features.h>
9 #include <sys/stat.h>
11 #define FTW_F 1
12 #define FTW_D 2
13 #define FTW_DNR 3
14 #define FTW_NS 4
15 #define FTW_SL 5
16 #define FTW_DP 6
17 #define FTW_SLN 7
19 #define FTW_PHYS 1
20 #define FTW_MOUNT 2
21 #define FTW_CHDIR 4
22 #define FTW_DEPTH 8
24 struct FTW
26 int base;
27 int level;
30 int ftw(const char *, int (*)(const char *, const struct stat *, int), int);
31 int nftw(const char *, int (*)(const char *, const struct stat *, int, struct FTW *), int, int);
33 #if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
34 #define ftw64 ftw
35 #define nftw64 nftw
36 #endif
38 #ifdef __cplusplus
40 #endif
42 #endif