1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 04:40:59 +01:00

unposted: internal: Document zreaddir().

This commit is contained in:
Daniel Shahaf 2017-09-11 15:06:05 +00:00
parent 9f2271168d
commit ed7497e379
2 changed files with 14 additions and 0 deletions

View file

@ -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)