OERenameFile

bool OERenameFile(const char *oldfname, const char *newfname)

Renames a file portably. The ‘oldfname’ argument denotes the original file name, which is renamed to the filename specified by ‘newfname’. This function returns true upon success.