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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [newlib/] [libc/] [sys/] [go32/] [sys/] [dir.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 39 lampret
#ifndef _DIR_H_
2
#define _DIR_H_
3
 
4
struct ffblk {
5
  char ff_reserved[21];
6
  char ff_attrib;
7
  short ff_ftime;
8
  short ff_fdate;
9
  short ff_filler;
10
  long ff_fsize;
11
  char ff_name[16];
12
};
13
 
14
#define FA_RDONLY       1
15
#define FA_HIDDEN       2
16
#define FA_SYSTEM       4
17
#define FA_LABEL        8
18
#define FA_DIREC        16
19
#define FA_ARCH         32
20
 
21
#ifdef __cplusplus
22
extern "C" {
23
#endif
24
 
25
int findfirst(const char *pathname, struct ffblk *ffblk, int attrib);
26
int findnext(struct ffblk *ffblk);
27
 
28
#ifdef __cplusplus
29
}
30
#endif
31
 
32
#endif
33
 

powered by: WebSVN 2.1.0

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