rename function — Renames a file
int rename(const char* oldname, const char* newname)
The rename function renames the file specified by oldname to newname. The return value is 0 for success or nonzero for failure.
rename
oldname
newname
0
remove function