read_dir
- Синтаксис
-
native read_dir(const dirname[], pos, output[], len, &outlen = 0);
Переменная | Описание |
---|---|
dirname |
Path to open |
pos |
Index the element |
output |
String buffer to hold content |
len |
Maximum size of string buffer |
outlen |
Number of characters written to the buffer |
- Описание
- Reads content from directory
- Пометка
-
This native is expensive. Consider the use of open_dir(), next_file() and close_dir() instead.
- Пометка
-
Both the '.' and '..' automatic directory entries will be retrieved for Windows and Linux.
- Возвращает
- Returns index of next element, otherwiwe 0 when end of dir is reached