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 02a3de2 commit 06c34a0Copy full SHA for 06c34a0
src/fileioc/fileioc.h
@@ -331,7 +331,11 @@ uint16_t ti_GetSize(uint8_t handle);
331
*
332
* @param[in] handle AppVar/variable handle.
333
* @param[in] size New AppVar/variable size.
334
- * @returns Resized size on success, `0` on failure, or `-1` if the AppVar/variable cannot be opened.
+ * @returns Resized size on success, `0` on failure, or `-1` if the
335
+ * AppVar/variable cannot be opened.
336
+ * @warning This function does not maintain the data already stored in the
337
+ * AppVar/variable when shrinking/expanding, and effectively
338
+ * corrupts the contents.
339
*/
340
int ti_Resize(size_t size, uint8_t handle);
341
0 commit comments