Annotation of researchv10no/cmd/odist/opkg/ftw.h, revision 1.1

1.1     ! root        1: #ifndef __FTW
        !             2: #define __FTW
        !             3: 
        !             4: /*
        !             5:  *     Codes for the third argument to the user-supplied function
        !             6:  *     which is passed as the second argument to ftw...
        !             7:  */
        !             8: 
        !             9: #define        FTW_F   0       /* file */
        !            10: #define        FTW_D   1       /* directory */
        !            11: #define        FTW_DNR 2       /* directory without read permission */
        !            12: #define        FTW_NS  3       /* unknown type, stat failed */
        !            13: #define FTW_DP 4       /* directory, postorder visit */
        !            14: #define FTW_SL 5       /* symbolic link */
        !            15: #define FTW_NSL 6      /* stat failed (errno = ENOENT) on symbolic link */
        !            16: 
        !            17: /*     Values the user-supplied function may wish to assign to
        !            18:        component quit of struct FTW...
        !            19:  */
        !            20: 
        !            21: #define FTW_SKD 1      /* skip this directory (2nd par = FTW_D) */
        !            22: #define FTW_SKR 2      /* skip rest of current directory */
        !            23: #define FTW_FOLLOW 3   /* follow symbolic link */
        !            24: 
        !            25: struct FTW { int quit, base, level;
        !            26: #ifndef FTW_more_to_come
        !            27:        };
        !            28: #endif
        !            29: 
        !            30: #endif

unix.superglobalmegacorp.com

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