Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dir.h « sys « go32 « sys « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6ac830f2781bf72e65770f68326cf9144a9eba32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef _DIR_H_
#define _DIR_H_

struct ffblk {
  char ff_reserved[21];
  char ff_attrib;
  short ff_ftime;
  short ff_fdate;
  short ff_filler;
  long ff_fsize;
  char ff_name[16];
};

#define FA_RDONLY	1
#define FA_HIDDEN	2
#define FA_SYSTEM	4
#define FA_LABEL	8
#define FA_DIREC	16
#define FA_ARCH		32

#ifdef __cplusplus
extern "C" {
#endif

int findfirst(const char *pathname, struct ffblk *ffblk, int attrib);
int findnext(struct ffblk *ffblk);

#ifdef __cplusplus
}
#endif

#endif