PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
dirent.h
Go to the documentation of this file.
1 /*
2  * Headers for port/dirent.c, win32 native implementation of dirent functions
3  *
4  * src/include/port/win32_msvc/dirent.h
5  */
6 
7 #ifndef _WIN32VC_DIRENT_H
8 #define _WIN32VC_DIRENT_H
9 struct dirent
10 {
11  long d_ino;
12  unsigned short d_reclen;
13  unsigned short d_namlen;
14  char d_name[MAX_PATH];
15 };
16 
17 typedef struct DIR DIR;
18 
19 DIR *opendir(const char *);
20 struct dirent *readdir(DIR *);
21 int closedir(DIR *);
22 
23 #endif
unsigned short d_reclen
Definition: dirent.h:12
int closedir(DIR *)
Definition: dirent.c:111
Definition: dirent.h:9
unsigned short d_namlen
Definition: dirent.h:13
Definition: dirent.c:25
DIR * opendir(const char *)
Definition: dirent.c:33
long d_ino
Definition: dirent.h:11
struct dirent * readdir(DIR *)
Definition: dirent.c:77
char d_name[MAX_PATH]
Definition: dirent.h:14