| [3181] | 1 | /* dirent.h */
|
|---|
| 2 |
|
|---|
| 3 | /* djl
|
|---|
| 4 | * Provide UNIX compatibility
|
|---|
| 5 | */
|
|---|
| 6 |
|
|---|
| 7 | #ifndef _INC_DIRENT
|
|---|
| 8 | #define _INC_DIRENT
|
|---|
| 9 |
|
|---|
| 10 | /*
|
|---|
| 11 | * NT versions of readdir(), etc
|
|---|
| 12 | * From the MSDOS implementation
|
|---|
| 13 | */
|
|---|
| 14 |
|
|---|
| 15 | /* Directory entry size */
|
|---|
| 16 | #ifdef DIRSIZ
|
|---|
| 17 | #undef DIRSIZ
|
|---|
| 18 | #endif
|
|---|
| 19 | #define DIRSIZ(rp) (sizeof(struct direct))
|
|---|
| 20 |
|
|---|
| 21 | /* needed to compile directory stuff */
|
|---|
| 22 | #define DIRENT direct
|
|---|
| 23 |
|
|---|
| 24 | /* structure of a directory entry */
|
|---|
| 25 | typedef struct direct
|
|---|
| 26 | {
|
|---|
| 27 | long d_ino; /* inode number (not used by MS-DOS) */
|
|---|
| 28 | long d_namlen; /* name length */
|
|---|
| 29 | char d_name[257]; /* file name */
|
|---|
| |
|---|