source: branches/minix3-book/include/sys/dir.h@ 20

Last change on this file since 20 was 4, checked in by Mattia Monga, 14 years ago

Importazione sorgenti libro

File size: 286 bytes
Line 
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
14struct 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.