4 typedef struct DIR DIR;
 
  12         long d_ino;                      /* Always zero. */
 
  13         char d_name[FILENAME_MAX];       /* File name. */
 
  15                 unsigned short d_reclen; /* Always zero. */
 
  16                 unsigned char  d_type;   /* Reimplementation adds this */
 
  20 DIR *opendir(const char *dirname);
 
  21 struct dirent *readdir(DIR *dir);
 
  22 int closedir(DIR *dir);