diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-07-08 21:01:09 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-07-08 21:01:09 -0700 |
commit | 0976864358ad2fa493a1085b4f882a55da4328e8 (patch) | |
tree | fae9f7b4615b7192744125cd09df6196e0baa976 /txr.1 | |
parent | b32fd0b6f998ce4322ddf35399047f938c22717c (diff) | |
download | txr-0976864358ad2fa493a1085b4f882a55da4328e8.tar.gz txr-0976864358ad2fa493a1085b4f882a55da4328e8.tar.bz2 txr-0976864358ad2fa493a1085b4f882a55da4328e8.zip |
readdir: skip . and .. entries
* sysif.c (readdir_wrap): If d_name is "." or ".." loop around
and get another directory entry.
* txr.1: Documented.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -62867,6 +62867,15 @@ Otherwise, the next available directory entry is returned as a structure object of type .codn dirent . +The +.code readdir +function intenally skips and does not report the +.str . +(dot) +and +.str .. +(dotdot) directory entries. + If the .meta dirent-struct argument is specified, then it must be a |