projects
/
fio.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Update all Windows files except dobuild.cmd to use LF line endings
[fio.git]
/
os
/
windows
/
posix
/
include
/
dirent.h
1
#ifndef DIRENT_H
2
#define DIRENT_H
3
4
#include <windows.h>
5
6
struct dirent
7
{
8
ino_t d_ino; /* File serial number */
9
char d_name[MAX_PATH]; /* Name of entry */
10
};
11
12
struct dirent_ctx
13
{
14
HANDLE find_handle;
15
char dirname[MAX_PATH];
16
};
17
18
typedef struct dirent_ctx DIR;
19
20
DIR *opendir(const char *dirname);
21
struct dirent *readdir(DIR *dirp);
22
int closedir(DIR *dirp);
23
24
#endif /* DIRENT_H */