home *** CD-ROM | disk | FTP | other *** search
/ Atari FTP / ATARI_FTP_0693.zip / ATARI_FTP_0693 / Mint / mntinc25.zoo / ftw.h < prev    next >
C/C++ Source or Header  |  1992-05-15  |  541b  |  29 lines

  1. /*
  2. **  <FTW.H>
  3. **  Header values for the third parameter to the user-supplied function
  4. **  for ftw().
  5. **
  6. */
  7.  
  8. #ifndef _FTW_H
  9. #define _FTW_H
  10.     
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14.  
  15. #define FTW_F        0    /* A normal file            */
  16. #define FTW_D        1    /* A directory                */
  17. #define FTW_DNR        2    /* Something opendir(3) failed on    */
  18. #define FTW_NS        3    /* Something stat(2) failed on        */
  19.  
  20.  
  21. __EXTERN int ftw
  22.     __PROTO((char *path, int (*fn)(char *, struct stat *, int), int param));
  23.  
  24. #ifdef __cplusplus
  25. }
  26. #endif
  27.  
  28. #endif /* _FTW_H */
  29.