Back

#define MAX_PATH1 1024
#define DIRSIZ 14

struct dirent1
 {
    long ino;
   char name[NAME_MAX+1];
 };
typedef struct dirent1 Dirent;

struct dir1
 {
   int fd;
   Dirent d;
 };
typedef struct dir1 DIR1;

DIR1 *opendir1(char *dirname);
Dirent *readdir1(DIR1 *dfd);
void closedir1(DIR1 *dfd);

Top