comparison nt/inc/sys/dir.h @ 288:e11d67e05968 r21-0b42

Import from CVS: tag r21-0b42
author cvs
date Mon, 13 Aug 2007 10:35:54 +0200
parents 7d55a9ba150c
children 74fd4e045ea6
comparison
equal deleted inserted replaced
287:13a0bd77a29d 288:e11d67e05968
63 int dd_loc; /* offset in block */ 63 int dd_loc; /* offset in block */
64 int dd_size; /* amount of valid data */ 64 int dd_size; /* amount of valid data */
65 char dd_buf[DIRBLKSIZ]; /* directory block */ 65 char dd_buf[DIRBLKSIZ]; /* directory block */
66 } DIR; /* stream data from opendir() */ 66 } DIR; /* stream data from opendir() */
67 67
68 #ifndef WINDOWSNT 68 DIR *opendir (CONST char *filename);
69 extern DIR *opendir (CONST char *filename); 69 void closedir (DIR *dirp);
70 extern int closedir (DIR *dirp); 70 struct direct *readdir (DIR *dirp);
71 extern struct direct *readdir (DIR *dirp); 71 struct direct *readdirver (DIR *dirp);
72 extern struct direct *readdirver (DIR *dirp); 72 long telldir (DIR *dirp);
73 extern long telldir (DIR *dirp); 73 void seekdir (DIR *dirp, long loc);
74 extern void seekdir (DIR *dirp, long loc);
75 74
76 #define rewinddir( dirp ) seekdir( dirp, 0L ) 75 #define rewinddir( dirp ) seekdir( dirp, 0L )
77 #endif