dirent#
Defines
-
WIN32_LEAN_AND_MEAN#
-
_DIRENT_HAVE_D_TYPE#
-
_DIRENT_HAVE_D_NAMLEN#
-
FILE_ATTRIBUTE_DEVICE#
-
S_IFMT#
-
S_IFDIR#
-
S_IFCHR#
-
S_IFFIFO#
-
S_IFREG#
-
S_IREAD#
-
S_IWRITE#
-
S_IEXEC#
-
S_IFIFO#
-
S_IFBLK#
-
S_IFLNK#
-
S_IFSOCK#
-
S_IRUSR#
-
S_IWUSR#
-
S_IXUSR#
-
S_IRGRP#
-
S_IWGRP#
-
S_IXGRP#
-
S_IROTH#
-
S_IWOTH#
-
S_IXOTH#
-
PATH_MAX#
-
FILENAME_MAX#
-
NAME_MAX#
-
DT_UNKNOWN#
-
DT_REG#
-
DT_DIR#
-
DT_FIFO#
-
DT_SOCK#
-
DT_CHR#
-
DT_BLK#
-
DT_LNK#
-
IFTODT(mode)#
-
DTTOIF(type)#
-
S_ISFIFO(mode)#
-
S_ISDIR(mode)#
-
S_ISREG(mode)#
-
S_ISLNK(mode)#
-
S_ISSOCK(mode)#
-
S_ISCHR(mode)#
-
S_ISBLK(mode)#
-
_D_EXACT_NAMLEN(p)#
-
_D_ALLOC_NAMLEN(p)#
-
wdirent#
-
WDIR#
-
wopendir#
-
wreaddir#
-
wclosedir#
-
wrewinddir#
Functions
-
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 int _wclosedir(_WDIR *dirp)#
-
static void _wrewinddir(_WDIR *dirp)#
-
static int scandir(const char *dirname, struct dirent ***namelist, int (*filter)(const struct dirent*), int (*compare)(const struct dirent**, const struct dirent**))#
-
static WIN32_FIND_DATAW *dirent_first(_WDIR *dirp)#
-
static WIN32_FIND_DATAW *dirent_next(_WDIR *dirp)#
-
static int dirent_mbstowcs_s(size_t *pReturnValue, wchar_t *wcstr, size_t sizeInWords, const char *mbstr, size_t count)#
-
static int dirent_wcstombs_s(size_t *pReturnValue, char *mbstr, size_t sizeInBytes, const wchar_t *wcstr, size_t count)#
-
static void dirent_set_errno(int error)#
-
struct dirent
-
struct DIR