00001 #ifndef _DIRENT_H
00002 #define _DIRENT_H
00003
00004 #include <sys/types.h>
00005
00006 struct dirent {
00007 ino_t d_ino;
00008 off_t d_off;
00009 wchar_t d_reclen;
00010 char d_name[256];
00011 };
00012
00013 typedef struct _dircontents {
00014 char *_d_entry;
00015 struct _dircontents *_d_next;
00016 } DIRCONT;
00017
00018 typedef struct _dirdesc {
00019 int dd_id;
00020 long dd_loc;
00021 struct _dircontents *dd_contents;
00022 struct _dircontents *dd_cp;
00023 } DIR;
00024
00025 extern DIR *opendir(const char *);
00026 extern struct dirent *readdir(DIR *);
00027 extern int closedir(DIR *);
00028
00029 #endif