Annotation of researchv10no/cmd/bcp/myftw.h, revision 1.1

1.1     ! root        1: /* Copyright (c) 1989, 1990 AT&T --- All Rights Reserved.              */
        !             2: /* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T.                */
        !             3: /* The copyright notice does not imply actual or intended publication. */
        !             4: /* AUTHORS:                                            */
        !             5: /*     H. S. Baird - ATT-BL MH - first versions        */
        !             6: /*
        !             7:  *     Codes for the third argument to the user-supplied function
        !             8:  *     which is passed as the second argument to ftw...
        !             9:  */
        !            10: 
        !            11: #define        FTW_F   0       /* file */
        !            12: #define        FTW_D   1       /* directory */
        !            13: #define        FTW_DNR 2       /* directory without read permission */
        !            14: #define        FTW_NS  3       /* unknown type, stat failed */
        !            15: #define FTW_DP 4       /* directory, postorder visit */
        !            16: #define FTW_SL 5       /* symbolic link */
        !            17: #define FTW_NSL 6      /* stat failed (errno = ENOENT) on symbolic link */
        !            18: 
        !            19: /*     Values the user-supplied function may wish to assign to
        !            20:        component quit of struct FTW...
        !            21:  */
        !            22: 
        !            23: #define FTW_SKD 1      /* skip this directory (2nd par = FTW_D) */
        !            24: #define FTW_SKR 2      /* skip rest of current directory */
        !            25: #define FTW_FOLLOW 3   /* follow symbolic link */
        !            26: 
        !            27: struct FTW { int quit, base, level;
        !            28: #ifndef FTW_more_to_come
        !            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.