#include <sys/types.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
#include <string.h>
#include <limits.h>
#include <ctype.h>
#include <errno.h>
#include <dirent_win32.h>
#include <windows.h>
Go to the source code of this file.
◆ ATTRIBUTES
Value:(_A_SUBDIR | _A_HIDDEN | _A_SYSTEM | \
_A_NORMAL | _A_RDONLY | _A_ARCH)
Definition at line 47 of file dirent.c.
◆ DISABLE_HARD_ERRORS
#define DISABLE_HARD_ERRORS SetErrorMode (0) |
◆ ENABLE_HARD_ERRORS
#define ENABLE_HARD_ERRORS |
Value:SetErrorMode (SEM_FAILCRITICALERRORS | \
SEM_NOOPENFILEERRORBOX);
Definition at line 42 of file dirent.c.
◆ ENOTDIR
#define ENOTDIR 120 /* Not a directory */ |
◆ ERROR_EMPTY_DIR
#define ERROR_EMPTY_DIR ERROR_FILE_NOT_FOUND |
◆ FILE_NAME_E
#define FILE_NAME_E cFileName |
◆ FIND_BUFFER
#define FIND_BUFFER WIN32_FIND_DATA |
◆ OS_CloseFH
#define OS_CloseFH |
( |
|
a | ) |
FindClose (a) |
◆ S_IFMT
#define S_IFMT 0xf000 /* type of file */ |
◆ S_ISDIR
#define S_ISDIR |
( |
|
m | ) |
((((m) & S_IFMT) == S_IFDIR)) |
◆ WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN |
◆ DIRCONT
◆ closedir()
int closedir |
( |
DIR * |
dirp | ) |
|
◆ free_dircontents()
static void free_dircontents |
( |
DIRCONT * |
dp | ) |
|
|
static |
◆ IsHPFSFileSystem()
bool IsHPFSFileSystem |
( |
char * |
directory | ) |
|
◆ opendir()
DIR* opendir |
( |
char * |
name | ) |
const |
◆ readdir()
◆ rewinddir()
void rewinddir |
( |
DIR * |
dirp | ) |
|
◆ seekdir()
void seekdir |
( |
DIR * |
dirp, |
|
|
off_t |
off |
|
) |
| |
◆ telldir()
off_t telldir |
( |
DIR * |
dirp | ) |
|