home *** CD-ROM | disk | FTP | other *** search
/ AMIGA PD 1 / AMIGA-PD-1.iso / Programme_zum_Heft / Programmieren / Kurztests / DiceC / include / sys / dir.h next >
C/C++ Source or Header  |  1994-02-01  |  335b  |  28 lines

  1.  
  2. /*
  3.  *  SYS/DIR.H
  4.  *
  5.  */
  6.  
  7. #ifndef SYS_DIR_H
  8. #define SYS_DIR_H
  9.  
  10. #define MAXPATHLEN  1024
  11. #define MAXNAMLEN   256
  12.  
  13. typedef struct {
  14.     long    am_Private;
  15. } DIR;
  16.  
  17. struct direct {
  18.     char    *d_name;
  19.     short   d_namlen;
  20. };
  21.  
  22. DIR *opendir(const char *);
  23. struct direct *readdir(DIR *);
  24. int rewinddir(DIR *);
  25. int closedir(DIR *);
  26.  
  27. #endif
  28.