|Non-Confidential||PDF version||ARM DUI0471M|
|Home > What is Semihosting? > SYS_RENAME (0x0F)|
Renames a specified file.
R1 contains a pointer to a four-word data block:
a pointer to the name of the old file
the length of the old filename
a pointer to the new filename
the length of the new filename.
Both strings are null-terminated.
0 if the rename is successful
a nonzero, host-specific error code if the rename fails.