>if (rename(oldname,newname) != EOF);
なにこれ