pub unsafe extern "C" fn storage_dir_read(
file: *mut File,
fileinfo: *mut FileInfo,
name: *mut c_char,
name_length: u16,
) -> boolExpand description
Get the next item in the directory.
If the next object does not exist, this function returns false as well and sets the file error id to FSE_NOT_EXIST.
§Arguments
file- pointer to a file instance representing the directory in question.fileinfo- pointer to the FileInfo structure to contain the info (may be NULL).name- pointer to the buffer to contain the name (may be NULL).name_length- maximum capacity of the name buffer, in bytes.
§Returns
true if the next item was successfully read, false otherwise.