From 289f6a146c0b2087607d8d8659531ea90142779a Mon Sep 17 00:00:00 2001 From: Leo C Date: Sun, 27 May 2018 21:26:38 +0200 Subject: Import fatfs R0.13b --- fatfs/documents/doc/truncate.html | 66 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 fatfs/documents/doc/truncate.html (limited to 'fatfs/documents/doc/truncate.html') diff --git a/fatfs/documents/doc/truncate.html b/fatfs/documents/doc/truncate.html new file mode 100644 index 0000000..0ac012f --- /dev/null +++ b/fatfs/documents/doc/truncate.html @@ -0,0 +1,66 @@ + + +
+ + + + + +The f_truncate function truncates the file size.
++FRESULT f_truncate ( + FIL* fp /* [IN] File object */ +); ++
+FR_OK, +FR_DISK_ERR, +FR_INT_ERR, +FR_DENIED, +FR_INVALID_OBJECT, +FR_TIMEOUT +
+The f_truncate function truncates the file size to the current file read/write pointer. This function has no effect if the file read/write pointer is already pointing end of the file.
+Available when FF_FS_READONLY == 0 and FF_FS_MINIMIZE == 0.
+