Enumerate files in the specified directory.
More...
#include <diskio.hpp>
Enumerate files in the specified directory.
- Parameters
-
[out] | answer | buffer to contain the file name for which file_enumerator_t::visit_file returns non-zero value (may be nullptr) |
| answer_size | size of 'answer' |
| path | directory to enumerate files in |
| fname | mask of file names to enumerate |
| fv | file_enumerator_t::visit_file function called for each file
- file: full file name (with path)
- if returns non-zero value, the enumeration is stopped and the return code is is returned to the caller. the callback function
|
- Returns
- zero or the code returned by 'func'
◆ ~file_enumerator_t()
virtual file_enumerator_t::~file_enumerator_t |
( |
| ) |
|
|
inlinevirtual |
◆ visit_file()
virtual int file_enumerator_t::visit_file |
( |
const char * | file | ) |
|
|
pure virtual |
The documentation for this struct was generated from the following file: