readdir
Read entry from directory handle
&reftitle.description;
stringfalsereaddir
resourcenulldir_handle&null;
Returns the name of the next entry in the directory.
The entries are returned in the order in which they are stored by
the filesystem.
&reftitle.parameters;
dir_handle
A directory handle resource previously opened
with opendir.
If dir_handle is &null; the last handle opened
using opendir will be used.
&reftitle.returnvalues;
Returns the entry name on success,&return.falseforfailure;.
&return.falseproblem;
&reftitle.changelog;
&Version;
&Description;
8.5.0
Using &null; for dir_handle is now deprecated.
Instead, the last opened directory handle should be explicitly provided.
8.0.0
dir_handle is now nullable.
&reftitle.examples;
For a complete example refer to the opendir
documentation.
&reftitle.seealso;
opendir
rewinddir
closedir
dir
is_dir
glob
scandir