We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0db528 commit ded2c49Copy full SHA for ded2c49
include/zephyr/fs/nvs.h
@@ -94,6 +94,11 @@ int nvs_clear(struct nvs_fs *fs);
94
/**
95
* @brief Write an entry to the file system.
96
*
97
+ * @note When @p len parameter is equal to @p 0 then entry is effectively removed (it is
98
+ * equivalent to calling of nvs_delete). Any calls to nvs_read for entries with data of length
99
+ * @p 0 will return error.@n It is not possible to distinguish between deleted entry and entry
100
+ * with data of length 0.
101
+ *
102
* @param fs Pointer to file system
103
* @param id Id of the entry to be written
104
* @param data Pointer to the data to be written
0 commit comments