This site required JavaScript
to be enabled. Click here to
view a static menu.
int ff_remove( const char *pcPath );
Remove (delete, or unlink) a file from the embedded FAT file system. A file cannot be removed if it is open.
Parameters:
If the file was removed successfully then zero is returned.
If the file could not be removed then NULL is returned and the task's errno is set to indicate the reason. A task can obtain its errno value using the ff_errno() API function. A file cannot be removed if it is open.
Example usage:
void vExampleFunction( void )
{
/* Delete a file. */
ff_remove( "/ram1/filename.txt" );
}