| Last change
 on this file since 2742 was             683, checked in by ansari, 26 years ago | 
        
          | 
Compilation Mac pour CodeWarrior PRO 5
 | 
        
          | File size:
            337 bytes | 
      
      
| Rev | Line |  | 
|---|
| [683] | 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.