Renames a file.
#include <prio.h> PRStatus PR_Rename( const char *from, const char *to);
The function has the following parameters:
fromtoOne of the following values:
PR_SUCCESS.PR_FAILURE.PR_Rename renames a file from its old name (from) to a new name (to). If a file with the new name already exists, PR_Rename fails with the error code PR_FILE_EXISTS_ERROR. In this case, PR_Rename does not overwrite the existing filename.