Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: fusl/include/ftw.h

Issue 1573973002: Add a "fork" of musl as //fusl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fusl/include/fnmatch.h ('k') | fusl/include/getopt.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #ifndef _FTW_H
2 #define _FTW_H
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 #include <features.h>
9 #include <sys/stat.h>
10
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
18
19 #define FTW_PHYS 1
20 #define FTW_MOUNT 2
21 #define FTW_CHDIR 4
22 #define FTW_DEPTH 8
23
24 struct FTW
25 {
26 int base;
27 int level;
28 };
29
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 FT W *), int, int);
32
33 #if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
34 #define ftw64 ftw
35 #define nftw64 nftw
36 #endif
37
38 #ifdef __cplusplus
39 }
40 #endif
41
42 #endif
OLDNEW
« no previous file with comments | « fusl/include/fnmatch.h ('k') | fusl/include/getopt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698