13.7.15. SYS_RENAME (0xf)

Renames a specified file.


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

word 1

is a pointer to the name of the old file.

word 2

is the length of the old file name.

word 3

is a pointer to the new file name.

word 4

is the length of the new file name.

Both strings are null-terminated.


On exit, r0 contains:

  • 0 if the rename is successful

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

Copyright © 1997, 1998 ARM Limited. All rights reserved.ARM DUI 0040D