home *** CD-ROM | disk | FTP | other *** search
/ Mac Power 1999 February / MACPOWER-1999-02.ISO.7z / MACPOWER-1999-02.ISO / 9902⁄AMUG / UTILITY / mac06-0.95.sit / mac06-0.95 / usr / include / dirent.h < prev    next >
Text File  |  1997-11-19  |  355b  |  27 lines

  1. /* mac06ゥ1997 by HNS/DSITRI hns@computer.org
  2. ** dirent.h
  3. */
  4.  
  5. #pragma once
  6.  
  7. #include "sys/types.h"
  8. #include "limits.h"
  9.  
  10. struct dirent
  11.     {
  12.     char d_name[NAME_MAX];
  13.     ino_t d_node;
  14.     };
  15.  
  16. typedef struct
  17.     {
  18.     int fd;
  19.     struct dirent de;
  20.     } DIR;
  21.  
  22. int closedir(DIR *d);
  23. DIR *opendir(const char *name);
  24. struct dirent *readdir(DIR *d);
  25. void rewinddir(DIR *d);
  26.  
  27. /* EOF */