diff options
Diffstat (limited to 'Src/utils.c')
-rw-r--r-- | Src/utils.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Src/utils.c b/Src/utils.c index 5055d69fe..70aad396a 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -4947,6 +4947,16 @@ ztrsub(char const *t, char const *s) return l; } +/* + * Wrapper for readdir(). + * + * If ignoredots is true, skip the "." and ".." entries. + * + * When __APPLE__ is defined, recode dirent names from UTF-8-MAC to UTF-8. + * + * Return the dirent's name, metafied. + */ + /**/ mod_export char * zreaddir(DIR *dir, int ignoredots) |