next_file
- Синтаксис
-
native next_file(dirh, buffer[], length, &FileType:type = FileType_Unknown);
Переменная | Описание |
---|---|
dirh |
Handle to a directory |
buffer |
String buffer to hold directory name |
length |
Maximum size of string buffer |
type |
Optional variable to store the file type. FileType_* constants |
- Описание
- Reads the next directory entry as a local filename.
- Пометка
-
Contents of buffers are undefined when returning false.
- Пометка
-
Both the '.' and '..' automatic directory entries will be retrieved for Windows and Linux.
- Возвращает
- 1 on success, 0 if there are no more files to read.