summaryrefslogtreecommitdiff
path: root/win32/dir.h
blob: 8aa793de42002072af74833c739f736b2b47a826 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
struct direct
{
    long d_namlen;
    ino_t d_ino;
    char d_name[256];
};
typedef struct {
    char *start;
    char *curr;
    long size;
    long nfiles;
    struct direct dirstr;
} DIR;

DIR* opendir(const char*);
struct direct* readdir(DIR *);
long telldir(DIR *);
void seekdir(DIR *, long);
void rewinddir(DIR *);
void closedir(DIR *);