FreeBSD/Linux Kernel Cross Reference
sys/include/sys/dir.h
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 */
Cache object: 89d239d55bdbdcc42ae22008341e850f
|