From ed7497e3790b044ab680fcdcd9dc4034a73ead9a Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Mon, 11 Sep 2017 15:06:05 +0000 Subject: unposted: internal: Document zreaddir(). --- Src/utils.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Src/utils.c') 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) -- cgit 1.4.1