Function esp_idf_hal::sys::nvs_entry_next
source ยท pub unsafe extern "C" fn nvs_entry_next(
iterator: *mut *mut nvs_opaque_iterator_t,
) -> i32
Expand description
@brief Advances the iterator to next item matching the iterator criteria.
Note that any copies of the iterator will be invalid after this call.
@param[inout] iterator Iterator obtained from nvs_entry_find function. Must be non-NULL. If any error except ESP_ERR_INVALID_ARG occurs, \c iterator is set to NULL. If ESP_ERR_INVALID_ARG occurs, \c iterator is not changed.
@return - ESP_OK if no internal error or programming error occurred. - ESP_ERR_NVS_NOT_FOUND if no next element matching the iterator criteria. - ESP_ERR_INVALID_ARG if \c iterator is NULL. - Possibly other errors in the future for internal programming or flash errors.