#include <windows.h>
#include <cerrno>
#include <cstdarg>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cwchar>
#include <sys/stat.h>
#include <sys/types.h>
Go to the source code of this file.
|
static int | _wclosedir (_WDIR *dirp) |
|
static _WDIR * | _wopendir (const wchar_t *dirname) |
|
static struct _wdirent * | _wreaddir (_WDIR *dirp) |
|
static int | _wreaddir_r (_WDIR *dirp, struct _wdirent *entry, struct _wdirent **result) |
|
static void | _wrewinddir (_WDIR *dirp) |
|
static int | alphasort (const struct dirent **a, const struct dirent **b) |
|
static int | closedir (DIR *dirp) |
|
static WIN32_FIND_DATAW * | dirent_first (_WDIR *dirp) |
|
static int | dirent_mbstowcs_s (size_t *pReturnValue, wchar_t *wcstr, size_t sizeInWords, const char *mbstr, size_t count) |
|
static WIN32_FIND_DATAW * | dirent_next (_WDIR *dirp) |
|
static void | dirent_set_errno (int error) |
|
static int | dirent_wcstombs_s (size_t *pReturnValue, char *mbstr, size_t sizeInBytes, const wchar_t *wcstr, size_t count) |
|
static DIR * | opendir (const char *dirname) |
|
static struct dirent * | readdir (DIR *dirp) |
|
static int | readdir_r (DIR *dirp, struct dirent *entry, struct dirent **result) |
|
static void | rewinddir (DIR *dirp) |
|
static int | scandir (const char *dirname, struct dirent ***namelist, int(*filter)(const struct dirent *), int(*compare)(const struct dirent **, const struct dirent **)) |
|
static int | versionsort (const struct dirent **a, const struct dirent **b) |
|
◆ _D_ALLOC_NAMLEN
◆ _D_EXACT_NAMLEN
#define _D_EXACT_NAMLEN |
( |
|
p | ) |
((p)->d_namlen) |
◆ _DIRENT_HAVE_D_NAMLEN
#define _DIRENT_HAVE_D_NAMLEN |
◆ _DIRENT_HAVE_D_TYPE
#define _DIRENT_HAVE_D_TYPE |
◆ DT_BLK
◆ DT_CHR
◆ DT_DIR
◆ DT_FIFO
◆ DT_LNK
◆ DT_REG
◆ DT_SOCK
◆ DT_UNKNOWN
◆ DTTOIF
◆ FILE_ATTRIBUTE_DEVICE
#define FILE_ATTRIBUTE_DEVICE 0x40 |
◆ FILENAME_MAX
#define FILENAME_MAX MAX_PATH |
◆ IFTODT
◆ NAME_MAX
◆ PATH_MAX
#define PATH_MAX MAX_PATH |
◆ S_IEXEC
◆ S_IFBLK
◆ S_IFCHR
◆ S_IFDIR
◆ S_IFFIFO
#define S_IFFIFO _S_IFFIFO |
◆ S_IFIFO
◆ S_IFLNK
◆ S_IFMT
◆ S_IFREG
◆ S_IFSOCK
◆ S_IREAD
◆ S_IRGRP
◆ S_IROTH
◆ S_IRUSR
◆ S_ISBLK
◆ S_ISCHR
◆ S_ISDIR
◆ S_ISFIFO
◆ S_ISLNK
◆ S_ISREG
◆ S_ISSOCK
◆ S_IWGRP
◆ S_IWOTH
◆ S_IWRITE
#define S_IWRITE _S_IWRITE |
◆ S_IWUSR
◆ S_IXGRP
◆ S_IXOTH
◆ S_IXUSR
◆ wclosedir
◆ WDIR
◆ wdirent
◆ WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN |
◆ wopendir
◆ wreaddir
◆ wrewinddir
◆ _WDIR
◆ _wdirent
◆ DIR
◆ dirent
◆ _wclosedir()
static int _wclosedir |
( |
_WDIR * |
dirp | ) |
|
|
static |
◆ _wopendir()
static _WDIR * _wopendir |
( |
const wchar_t * |
dirname | ) |
|
|
static |
◆ _wreaddir()
◆ _wreaddir_r()
◆ _wrewinddir()
◆ alphasort()
static int alphasort |
( |
const struct dirent ** |
a, |
|
|
const struct dirent ** |
b |
|
) |
| |
|
static |
◆ closedir()
static int closedir |
( |
DIR * |
dirp | ) |
|
|
static |
◆ dirent_first()
static WIN32_FIND_DATAW * dirent_first |
( |
_WDIR * |
dirp | ) |
|
|
static |
◆ dirent_mbstowcs_s()
static int dirent_mbstowcs_s |
( |
size_t * |
pReturnValue, |
|
|
wchar_t * |
wcstr, |
|
|
size_t |
sizeInWords, |
|
|
const char * |
mbstr, |
|
|
size_t |
count |
|
) |
| |
|
static |
◆ dirent_next()
static WIN32_FIND_DATAW * dirent_next |
( |
_WDIR * |
dirp | ) |
|
|
static |
◆ dirent_set_errno()
static void dirent_set_errno |
( |
int |
error | ) |
|
|
static |
◆ dirent_wcstombs_s()
static int dirent_wcstombs_s |
( |
size_t * |
pReturnValue, |
|
|
char * |
mbstr, |
|
|
size_t |
sizeInBytes, |
|
|
const wchar_t * |
wcstr, |
|
|
size_t |
count |
|
) |
| |
|
static |
◆ opendir()
static DIR * opendir |
( |
const char * |
dirname | ) |
|
|
static |
◆ readdir()
◆ readdir_r()
static int readdir_r |
( |
DIR * |
dirp, |
|
|
struct dirent * |
entry, |
|
|
struct dirent ** |
result |
|
) |
| |
|
static |
◆ rewinddir()
static void rewinddir |
( |
DIR * |
dirp | ) |
|
|
static |
◆ scandir()
static int scandir |
( |
const char * |
dirname, |
|
|
struct dirent *** |
namelist, |
|
|
int(*)(const struct dirent *) |
filter, |
|
|
int(*)(const struct dirent **, const struct dirent **) |
compare |
|
) |
| |
|
static |
◆ versionsort()
static int versionsort |
( |
const struct dirent ** |
a, |
|
|
const struct dirent ** |
b |
|
) |
| |
|
static |