|
|
1.1 root 1: /*
2: * Codes for the third argument to the user-supplied function
3: * which is passed as the second argument to ftw
4: */
5:
6: #define FTW_F 0 /* file */
7: #define FTW_D 1 /* directory */
8: #define FTW_DNR 2 /* directory without read permission */
9: #define FTW_NS 3 /* unknown type, stat failed */
10: #define FTW_DP 4 /* directory, postorder visit */
11: #define FTW_SL 5 /* symbolic link */
12: #define FTW_SKD 1 /* skip this directory (2nd par = FTW_D) */
13: #define FTW_SKR 2 /* skip rest of current directory */
14: #define FTW_FOLLOW 3 /* follow symbolic link */
15:
16: struct FTW { int quit, base, level;
17: #ifndef FTW_more_to_come
18: };
19: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.