home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume8 / hier / ftw.h next >
Encoding:
C/C++ Source or Header  |  1987-02-11  |  576 b   |  18 lines

  1. /*
  2. **  This is a version of <ftw.h> for sites that don't have it.  I just
  3. **  picked four values at random for the #define's that sftw needed; I
  4. **  doubt that this is binary-compatible with AT&T's <ftw.h>, and this
  5. **  may well be missing something.  Oh, well, it's public-domain...
  6. **    -Rich $alz, mirror!rs
  7. */
  8.  
  9.  
  10. /*
  11. **  These values are passed on to the user's function, as the third
  12. **  parameter.
  13. */
  14. #define    FTW_F        1    /* A file                */
  15. #define    FTW_D        2    /* A directory                */
  16. #define    FTW_DNR        3    /* A directory that couldn't be read    */
  17. #define    FTW_NS        4    /* A stat() failure            */
  18.