OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [include/] [mpw/] [dir.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 106 markom
/* 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 */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.