Renames a specified file.


On entry, R1 contains a pointer to a four-word data block:

word 1

a pointer to the name of the old file

word 2

the length of the old filename

word 3

a pointer to the new filename

word 4

the length of the new filename.

Both strings are null-terminated.


On exit, R0 contains:

  • 0 if the rename is successful

  • a nonzero, host-specific error code if the rename fails.

Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0471G