RemoveFileIfExists

void RemoveFileIfExists (const char pathname[]);

Purpose

Removes a file from the file system. It does not report an error if the file already exists.

Parameters

Input
Name Type Description
pathname const char [] The pathname of the file to remove. If it is not an absolute pathname, the file is located relative to the current working directory.

Return Value

None.