comparison src/ndir.h @ 440:8de8e3f6228a r21-2-28

Import from CVS: tag r21-2-28
author cvs
date Mon, 13 Aug 2007 11:33:38 +0200
parents 3ecd8885ac67
children abe6d1db359e
comparison
equal deleted inserted replaced
439:357dd071b03c 440:8de8e3f6228a
20 /* 20 /*
21 <dir.h> -- definitions for 4.2BSD-compatible directory access 21 <dir.h> -- definitions for 4.2BSD-compatible directory access
22 22
23 last edit: 09-Jul-1983 D A Gwyn 23 last edit: 09-Jul-1983 D A Gwyn
24 */ 24 */
25
26 #ifndef INCLUDED_ndir_h_
27 #define INCLUDED_ndir_h_
25 28
26 #define DIRBLKSIZ 512 /* size of directory block */ 29 #define DIRBLKSIZ 512 /* size of directory block */
27 #ifdef WINDOWSNT 30 #ifdef WINDOWSNT
28 #define MAXNAMLEN 255 31 #define MAXNAMLEN 255
29 #else /* not WINDOWSNT */ 32 #else /* not WINDOWSNT */
53 struct direct *readdirver (DIR *dirp); 56 struct direct *readdirver (DIR *dirp);
54 long telldir (DIR *dirp); 57 long telldir (DIR *dirp);
55 void seekdir (DIR *dirp, long loc); 58 void seekdir (DIR *dirp, long loc);
56 59
57 #define rewinddir( dirp ) seekdir( dirp, 0L ) 60 #define rewinddir( dirp ) seekdir( dirp, 0L )
61
62 #endif /* INCLUDED_ndir_h_ */