Function flipperzero_sys::storage_dir_read
source · pub unsafe extern "C" fn storage_dir_read(
file: *mut File,
fileinfo: *mut FileInfo,
name: *mut c_char,
name_length: u16
) -> boolExpand description
Reads the next object in the directory
Returns:
- success flag (if the next object does not exist, it also returns false and sets the file error id to FSE_NOT_EXIST)
Arguments
file- pointer to file object.fileinfo- pointer to the read FileInfo, may be NULLname- pointer to name buffer, may be NULLname_length- name buffer length