PostgreSQL Source Code: src/include/port/win32_msvc/dirent.h Source File (original) (raw)

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

10{

16};

17

19

23

24/* File types for 'd_type'. */

25#define DT_UNKNOWN 0

26#define DT_FIFO 1

27#define DT_CHR 2

28#define DT_DIR 4

29#define DT_BLK 6

30#define DT_REG 8

31#define DT_LNK 10

32#define DT_SOCK 12

33#define DT_WHT 14

34#endif

struct dirent * readdir(DIR *)

DIR * opendir(const char *)