|
Last change
on this file since 3158 was 10, checked in by bird, 23 years ago |
|
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
|
File size:
347 bytes
|
| Line | |
|---|
| 1 | /* The <dir.h> header gives the layout of a directory. */
|
|---|
| 2 |
|
|---|
| 3 | #pragma once
|
|---|
| 4 |
|
|---|
| 5 | #ifndef _DIR_H
|
|---|
| 6 | #define _DIR_H
|
|---|
| 7 |
|
|---|
| 8 | #ifndef _TYPES_H /* not quite right */
|
|---|
| 9 | #include <sys/types.h>
|
|---|
| 10 | #endif
|
|---|
| 11 |
|
|---|
| 12 | #define DIRBLKSIZ 512 /* size of directory block */
|
|---|
| 13 |
|
|---|
| 14 | #ifndef DIRSIZ
|
|---|
| 15 | #define DIRSIZ 14
|
|---|
| 16 | #endif
|
|---|
| 17 |
|
|---|
| 18 | struct direct {
|
|---|
| 19 | ino_t d_ino;
|
|---|
| 20 | char d_name[DIRSIZ];
|
|---|
| 21 | };
|
|---|
| 22 |
|
|---|
| 23 | #endif /* _DIR_H */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.