Defined in:Deletes a file.
static FileResult DeleteFile(const char *name);
||A pointer to the name of the file to delete. If a path name is specified, it is interpreted relative to the application. Directory names preceding a file name or another directory name should be followed by a single forward slash character (/).|
DeleteFilefunction attempts to delete the file whose name is given by the
nameparameter and returns one of the following file result codes.
||The file was successfully deleted.|
||The file could not be deleted because the operating system returned an error.|