rename

rename -- ファイルをリネームする

説明

int rename(string oldname, string newname);

oldnamenewnameにリネームしようと試みます。

成功すると TRUE を返し、失敗すると FALSE を返します。