X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/5366852335044c1e68a5c32548d3051cc943552f..289f6a146c0b2087607d8d8659531ea90142779a:/fatfs/doc/en/truncate.html diff --git a/fatfs/doc/en/truncate.html b/fatfs/doc/en/truncate.html deleted file mode 100644 index 7dc980d..0000000 --- a/fatfs/doc/en/truncate.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - -FatFs - f_truncate - - - - -
-

f_truncate

-

The f_truncate function truncates the file size.

-
-FRESULT f_truncate (
-  FIL* fp     /* [IN] File object */
-);
-
-
- -
-

Parameter

-
-
fp
-
Pointer to the open file object to be truncated.
-
-
- - -
-

Return Values

-

-FR_OK, -FR_DISK_ERR, -FR_INT_ERR, -FR_NOT_READY, -FR_INVALID_OBJECT, -FR_TIMEOUT -

-
- - -
-

Description

-

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.

-
- - -
-

QuickInfo

-

Available when _FS_READONLY == 0 and _FS_MINIMIZE == 0.

-
- - -
-

See Also

-

f_open, f_lseek, FIL

-
- - -

Return

- -