[FreeRTOS+FAT Standard API Reference]
int ff_seteof( FF_FILE *pxStream );
Truncates a file to the file’s current read/write position. The file must have previously been opened using ff_fopen() with the mode string set to “a” or “w”.
|pxStream||The file being truncated.|
If the file was successfully truncated then zero is returned.