home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / BC_DICE2.DMS / in.adf / INCLUDE / sys / dir.h next >
Encoding:
C/C++ Source or Header  |  1995-01-10  |  526 b   |  39 lines

  1.  
  2. /*
  3.  * $VER: sys/dir.h 1.0 (17.4.93)
  4.  *
  5.  * (c)Copyright 1992 Obvious Implementations Corp, All Rights Reserved
  6.  */
  7.  
  8. #ifndef SYS_DIR_H
  9. #define SYS_DIR_H
  10.  
  11. #define MAXPATHLEN 1024
  12. #define MAXNAMLEN 256
  13.  
  14. typedef struct DIR {
  15.  long am_Private;
  16. } DIR;
  17.  
  18. struct direct {
  19.  char *d_name;
  20.  short d_namlen;
  21.  short d_reserved;
  22.  long d_ino;
  23. };
  24.  
  25. struct dirent {
  26.  char *d_name;
  27.  short d_namlen;
  28.  short d_reserved;
  29.  long d_ino;
  30. };
  31.  
  32.  
  33. DIR *opendir(const char *);
  34. struct direct *readdir(DIR *);
  35. int rewinddir(DIR *);
  36. int closedir(DIR *);
  37.  
  38. #endif
  39.