For the complete documentation index, see llms.txt. This page is also available as Markdown.
rename
rename a file
oldname - existing file name
newname - new file name
returns: error code from the system
Thread-safe function.
long rename(string oldname, string newname);