WKern
|
Go to the source code of this file.
Functions | |
void | Fat16RemoveFile (const char *filename, const char *ext) |
Remove a file from the FAT16 filesystem. |
void Fat16RemoveFile | ( | const char * | filename, |
const char * | ext ) |
Remove a file from the FAT16 filesystem.
Removes a file from the FAT16 root directory and frees clusters.
This function searches the FAT16 root directory for a file matching the specified filename and extension. If found, it marks the directory entry as deleted and frees all associated FAT clusters by clearing their entries in the FAT table.
filename | The 8-character filename (without extension). |
ext | The 3-character file extension. |