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