summaryrefslogtreecommitdiff
path: root/os/windows/posix/include/dirent.h
blob: 39a880da2294184fb4b116203232c9d1e0ea6115 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef DIRENT_H
#define DIRENT_H

struct dirent
{
	ino_t  d_ino;     //  File serial number. 
	char   d_name[];   // Name of entry. 
};

typedef int DIR;

DIR *opendir(const char *dirname);
struct dirent *readdir(DIR *dirp);
int closedir(DIR *dirp);

#endif /* DIRENT_H */