source:
trunk/minix/include/sys/dir.h@
16
| Last change on this file since 16 was 9, checked in by , 14 years ago | |
|---|---|
| File size: 286 bytes | |
| Rev | Line | |
|---|---|---|
| [9] | 1 | /* The <dir.h> header gives the layout of a directory. */ |
| 2 | ||
| 3 | #ifndef _DIR_H | |
| 4 | #define _DIR_H | |
| 5 | ||
| 6 | #include <sys/types.h> | |
| 7 | ||
| 8 | #define DIRBLKSIZ 512 /* size of directory block */ | |
| 9 | ||
| 10 | #ifndef DIRSIZ | |
| 11 | #define DIRSIZ 60 | |
| 12 | #endif | |
| 13 | ||
| 14 | struct direct { | |
| 15 | ino_t d_ino; | |
| 16 | char d_name[DIRSIZ]; | |
| 17 | }; | |
| 18 | ||
| 19 | #endif /* _DIR_H */ |
Note:
See TracBrowser
for help on using the repository browser.