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:
parent
9f2271168d
commit
ed7497e379
2 changed files with 14 additions and 0 deletions
10
Src/utils.c
10
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue