#include <stdio.h>
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <wchar.h>
#include <string.h>
#include <stdlib.h>
#include <malloc.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
Go to the source code of this file.
◆ _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
#define DTTOIF |
( |
|
type | ) |
(type) |
◆ FILE_ATTRIBUTE_DEVICE
#define FILE_ATTRIBUTE_DEVICE 0x40 |
◆ FILENAME_MAX
#define FILENAME_MAX MAX_PATH |
◆ IFTODT
#define IFTODT |
( |
|
mode | ) |
((mode) & S_IFMT) |
◆ NAME_MAX
◆ PATH_MAX
#define PATH_MAX MAX_PATH |
◆ S_IEXEC
#define S_IEXEC _S_IEXEC /* Execute permission */ |
◆ S_IFBLK
#define S_IFBLK 0 /* Block device */ |
◆ S_IFCHR
#define S_IFCHR _S_IFCHR /* Character device */ |
◆ S_IFDIR
#define S_IFDIR _S_IFDIR /* Directory */ |
◆ S_IFFIFO
#define S_IFFIFO _S_IFFIFO /* Pipe */ |
◆ S_IFIFO
#define S_IFIFO _S_IFIFO /* Pipe */ |
◆ S_IFLNK
#define S_IFLNK 0 /* Link */ |
◆ S_IFMT
#define S_IFMT _S_IFMT /* File type mask */ |
◆ S_IFREG
#define S_IFREG _S_IFREG /* Regular file */ |
◆ S_IFSOCK
#define S_IFSOCK 0 /* Socket */ |
◆ S_IREAD
#define S_IREAD _S_IREAD /* Read permission */ |
◆ S_ISBLK
◆ S_ISCHR
◆ S_ISDIR
◆ S_ISFIFO
◆ S_ISLNK
◆ S_ISREG
◆ S_ISSOCK
◆ S_IWRITE
#define S_IWRITE _S_IWRITE /* Write permission */ |
◆ wclosedir
◆ WDIR
◆ wdirent
◆ wopendir
◆ wreaddir
◆ wrewinddir
◆ _WDIR
◆ _wdirent
◆ DIR
◆ dirent
◆ _wclosedir()
static int _wclosedir |
( |
_WDIR * |
dirp | ) |
|
|
static |
◆ _wopendir()
static _WDIR * _wopendir |
( |
const wchar_t * |
dirname | ) |
|
|
static |
◆ _wreaddir()
◆ _wrewinddir()
static void _wrewinddir |
( |
_WDIR * |
dirp | ) |
|
|
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()
◆ rewinddir()
static void rewinddir |
( |
DIR * |
dirp | ) |
|
|
static |